Ugly notes

Math

ABS ABS implements ABS
ACS ACS (arccosine)
ASN ASN (arcsine)
ATN ATN (arctan)
ATN2 ATN2 returns the arc tangent of y/x, using the signs of the two to determine the quadrant of the return value
BIN BIN converts a number from binary.
COS COS implements the COS function..
EXP EXP x=e^x EXP
INT INT implements INT
LN LN calculates logarithms to the base e - LN
LOG LN calculates logarithms to the base e - LN
PI PI returns the value of PI
RND RND implements RND
SGN SGN is the sign function (sometimes called signum).
SIN SIN operats the sin function.
SQR SQR implements square root. Modified to not error on 0
TAN TAN implements the tan function.
VAL VAL converts a string to a number

Strings

CHR$ CHR returns the character specified by the given ASCII code.
CODE CODE returns the integer value of the specified character.
LEFT$ LEFT returns the N left-most characters of the string.
LEN LEN returns the length of the given string
MID$ MID returns the N characters from the given offset
RIGHT$ RIGHT returns the N right-most characters of the string.
SPC SPC returns a string containing the given number of spaces
STR$ STR converts a number to a string
TL$ TL returns a string, minus the first character.
STRC$ Builds a string converting a number to a x number of digits.

Robots

LOCX
LOCY
SPEED
DAMAGE
DRIVE
SCAN
CANNON
IN - Get data from another robot.
OUT - Send data to another robot.
TEAM - Turn teams on for this robot. Returns the team number.