home *** CD-ROM | disk | FTP | other *** search
- * OCT$(<numeric expression>)
- Returns a string which represents the octal value of the numeric
- expression. Examples: OCT$(10) OCT$(X+Y) OCT$(DECIMAL)
-
- PEEK(<numeric expression>)
- Returns the value of the byte in memory address <numeric expression>.
- Examples: PEEK(0) PEEK(1024+OFFSET) PEEK(DECIMALADDRESS)
-
- POS(<expression>)
- Returns the position of the printer. Used only in PRINT statements.
- Examples: POS(0) POS("") POS(anything)
-
- RIGHT$(<string expression>,<numeric expression>)
- Returns the rightmost <numeric expression> characters of
- <string expression>. Examples: RIGHT$(SENT$,1) RIGHT$(S$,NUM)
-
- RND(<numeric expression>)
- If <numeric expression> is less than zero, starts a new sequence of
- random numbers. If it's equal to zero, returns the same number as
- the last RND returned. If it's greater than zero, returns the next
- random number in the sequence.
- Examples: RND(-1) RND(0) RND(1) RND(X)
-
- SGN(<numeric expression>)
- If <numeric expression> is greater than zero, returns 1.
- If it's equal to zero, returns 0; if less than zero, returns -1.
- Examples: SGN(-2.57) SGN(0) SGN(353.2) SGN(X^3+Z)
-
- SIN(<numeric expression>)
- Returns the sine of angle <numeric expression>, which is in radians.
- Examples: SIN(DEG*PI/180) SIN(.256) SIN(X/Y)
-
- SPACE$(<numeric expression>)
- Returns a string of <numeric expression> spaces.
- Examples: SPACES$(BUFFERSIZE) SPACES$(4+LEN(LINE$))
-
- SPC(<numeric expression>)
- Prints <numeric expression> spaces on the console.
- Examples: SPC(20) SPC(N/3) SPC(INT(X*2))
-
- SQR(<numeric expression>)
- Returns the square root of <numeric expression>. An error message
- will result if <numeric expression> evaluates to a negative number.
- Examples: SQR(B*B-4*A*C) SQR(2) SQR(X)
-
- STR$(<numeric expression>)
- Returns the string representation of <numeric expression>,
- without leading or trailing spaces.
- Examples: STR$(3052.67) STR$(NUMBER) STR$(X*Y/Z)
-
-
-
-
-
-
-
-
-
- 12
-
-
-
-
-