Download Maximite User Manual
Transcript
RND( number ) Returns a pseudo-random number. The 'number' value is ignored if supplied. The RANDOMIZE command reseeds the random-number generator. SGN( number ) Returns the sign of the argument 'number', +1 for positive numbers, 0 for 0, and -1 for negative numbers. SIN( number ) Returns the sine of the argument 'number' in radians. SPACE$( number ) Returns a string of blank spaces 'number' bytes long. SPC( number ) Returns a string of blank spaces 'number' bytes long. This function is similar to the SPACE$() function and is only included for Microsoft compatibility. SQR( number ) Returns the square root of the argument 'number'. STR$( number ) Returns a string in the decimal (base 10) representation of the argument 'number'. STRING$( number, asciivalue|string$ ) Returns a string 'number' bytes long consisting of either the first character of string$ or the character answering to the ASCII value ascii-value. TAB( number ) Outputs spaces until the column indicated by 'number' has been reached. TAN( number ) Returns the tangent of the argument 'number' in radians. TIME$ Returns the current time based on MMBasic 's internal clock as a string in the form "HH:MM:SS" in 24 hour notation. For example, “14:30:00”. The internal clock/calendar will keep track of the time and date including leap years. The time is set to midnight on power up. To set the time use the command TIME$. TIMER Returns the elapsed time in milliseconds (eg, 1/1000 of a second) since reset. If not specifically reset this count will wrap around to zero after 49 days. The timer is reset to zero on power up and you can also reset it by using TIMER as a command. See the TIMER command. UCASE( string$ ) Returns ‘string$’ converted to uppercase characters. VAL( string$ ) Returns the numerical value of the ‘string$’. Maximite User Manual 2.1 Page 16