Skip to content

Commit 87bdc1e

Browse files
committed
quick update for release v0.0.2a
1 parent c20b5e4 commit 87bdc1e

File tree

1 file changed

+51
-1
lines changed

1 file changed

+51
-1
lines changed

documentation/BASIC.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,51 @@
1-
# BLANK
1+
# Ugly notes
2+
3+
Math
4+
```
5+
ABS ABS implements ABS
6+
ACS ACS (arccosine)
7+
ASN ASN (arcsine)
8+
ATN ATN (arctan)
9+
ATN2 ATN2 returns the arc tangent of y/x, using the signs of the two to determine the quadrant of the return value
10+
BIN BIN converts a number from binary.
11+
COS COS implements the COS function..
12+
EXP EXP x=e^x EXP
13+
INT INT implements INT
14+
LN LN calculates logarithms to the base e - LN
15+
LOG LN calculates logarithms to the base e - LN
16+
PI PI returns the value of PI
17+
RND RND implements RND
18+
SGN SGN is the sign function (sometimes called signum).
19+
SIN SIN operats the sin function.
20+
SQR SQR implements square root. Modified to not error on 0
21+
TAN TAN implements the tan function.
22+
VAL VAL converts a string to a number
23+
```
24+
25+
Strings
26+
```
27+
CHR$ CHR returns the character specified by the given ASCII code.
28+
CODE CODE returns the integer value of the specified character.
29+
LEFT$ LEFT returns the N left-most characters of the string.
30+
LEN LEN returns the length of the given string
31+
MID$ MID returns the N characters from the given offset
32+
RIGHT$ RIGHT returns the N right-most characters of the string.
33+
SPC SPC returns a string containing the given number of spaces
34+
STR$ STR converts a number to a string
35+
TL$ TL returns a string, minus the first character.
36+
STRC$ Builds a string converting a number to a x number of digits.
37+
```
38+
39+
Robots
40+
```
41+
LOCX
42+
LOCY
43+
SPEED
44+
DAMAGE
45+
DRIVE
46+
SCAN
47+
CANNON
48+
IN - Get data from another robot.
49+
OUT - Send data to another robot.
50+
TEAM - Turn teams on for this robot. Returns the team number.
51+
```

0 commit comments

Comments
 (0)