Commands and Keywords
RADIOBUTTON - adds a radiobutton to a window
RANDOM - purpose parameter in file open statement
RANDOMIZE - seed the random number generator
READ - reads information from DATA statements
REDIM - redimensions an array and resets its contents
"redraw" - graphics command to redraw segment
"refresh" - redraw a window
REM - adds a remark to a program
"removesprite" - remove a sprite
REMCHAR$( s$, c$ ) - remove all
the characters in c$ from s$
REPLSTR$(s$, a$, b$) -
replace all instances of a$ with b$ in s$
"resizehandler" - set up a routine to handle window resize by user
RESTORE - sets the position of the next DATA statement to read
RETURN - return from a subroutine call
RIGHT$( s$, n ) - n rightmost characters of s$
RMDIR( ) - remove a subdirectory
RND( n ) - returns a random number
"rule" - graphics command to set drawing rule
RUN s$, mode - run external program s$, with optional mode
SCAN - checks for and dispatches user actions
SEEK #h, fpos - set the position in a file opened for binary access
"segment" - graphics command to return segment ID
SELECT CASE - performs conditional actions
"!select" - text command to place caret
"!selectall" - text command to highlight all text
"!selection?" - text command to return highlighted text
"set" - graphics command to draw a point
"setfocus" - set input focus to control or window
SHORT - data type for calldll and structs
SHOW - make a control visible
SIN( n ) - sine of n
"size" - graphics command to set pen size
SORT - sorts single and double dim'd arrays
SPACE$( n ) - returns a string of n spaces
Sprites - all about using sprites in Liberty BASIC
"spritecollides" - sprite command to discover collisions
"spriteimage" - sprite command to set sprite image
"spritemovexy" - sprite command to auto-move sprite
"spriteoffset" - sprite command to offset x,y location of sprite
"spriteorient" - sprite command to orient sprite
"spriteround" - sprite command to change method of collision detection
"spritescale" - sprite command to set sprite's scale
"spritetoback" - sprite command to put sprite at bottom of z order
"spritetofront" - sprite command to put sprite at top of z order
"spritetravelxy" - sprite command to move sprite to desired position
"spritevisible" - sprite command to set visibility of sprite
"spritexy" - sprite command to set location of sprite
"spritexy?" - sprite command to return location of sprite
SQR(n) - details about getting the square root of a number
STATICTEXT - add a statictext control to a window
StartupDir$ - variable holds
the directory path that Liberty BASIC starts up in
STOP - marks end of program execution
STOPMIDI - stops a MIDI file from playing
STR$( n ) - returns string equivalent of n
"stringwidth?" - graphics command to return width of text string
STRUCT - builds a structure used in calling of APIs and DLL functions
STYLEBITS - add or remove style bits from a control
SUB - defines a subroutine