Retrogamecoding(.org) > BrowserBasic
Syntax highlighting file for Geany
Tomaaz:
I could create a configuration file for Geany, but the question is - what about a file extension? Are you going to use something like .bb or .brb?
Guilect:
I had not planned on enforcing particular file extension.
As it stands now you can save your code with any file extension.
So, if you want, you can make a colorizer for .bb or .brb and anyone who uses Geany and and BrowserBasic can save and load with those extensions.
Guilect:
here is the latest list of commands:
for next if then else elseif endif while wend rem var type select case default endselect function endfunction return break to as msgbox endtype rgb inputbox foreach step
rgb str$ lcase$ ucase$ left$ right$ mid$ mid replace$ trim$ ltrim$ rtrim$ space$ string$ len instr chr asc mod abs sgn int exp sqrt log cos sin tan atn atn2 rnd rand fix pow val min max ubound inputbox
print setfont getfont setbackgroundcolor getbackgroundcolor getalpha setalpha setcolor getwidth getheight setdimensions setlinewidth getlinewidth setlinecap getlinecap setimagesmoothing getimagesmoothing line strokerectangle fillrectangle strokecircle fillcircle strokearc fillarc strokepolygon fillpolygon setpixel getpixel draw drawcentered translate scale rotate push pop canvas imageload sprite spritesheet keydown mousex mousey mousepressed soundcanplay soundload soundplay soundpause soundstop soundinstances soundplayinginstances getexpirationtime setexpirationtime soundavailable soundcanplaytype medialoaded mediapending imagewidth imageheight imagedraw spritewidth spriteheight spritedraw clear spritesheet getsprite animation animationupdate setanimationsprite getanimationsprite touchavailable touchpressed
Tomaaz:
Thanx! :) What about build commands?
Guilect:
Not sure I get you on this one.
If you mean how to build, it is just browserbasic.exe <filename>
this outputs filename.html
Navigation
[0] Message Index
[#] Next page
Go to full version