Installation guide
Programming Commands 155
STR$  String Manipulation
ACTION: Returns a string representation of a numeric expression.
PROGRAM SYNTAX: String1$=STR$(numeric expression)
REMARKS: The STR$ command is the complement of a VAL command.
EXAMPLES: ACCEL(2)=100
x=50
y=2.1
a$=STR$(ACCEL(2)) ‘sets a$=“100”
b$=STR$(x) ‘sets b$=“50”
c$=STR$(y) ‘sets c$=“2.1”
STRING$  String Manipulation
ACTION: Returns a string of characters.
PROGRAM SYNTAX: String1$=STRING$(number, code)
REMARKS: The number indicates the length of the string to return.
The code is the ASCII code of the character to use to build the string.
EXAMPLES: a$ = STRING$(10,63) ‘sets a$=“??????????”
TAN  Mathematics Function
ACTION: Returns the tangent of the angle x, where x is in radians.
PROGRAM SYNTAX: TAN(x) - used in an expression
REMARKS: To convert values from degrees to radians, multiply the angle (in de-
grees) times Pi/180 (or .017453) where Pi= 3.141593.
To convert a radian value to degrees, multiply it by 180/Pi (or
57.295779).
EXAMPLES: PI = 3.141593 
'assign the constant "PI"
x = TAN (PI/4) 
'calculate tangent of 45 degrees, sets x equal to the value 1.0, which is
the tangent of 45 degrees










