Remote Processing CAMBASIC User Manual
Page 31

Comm and Summar y - 5
Command
Syntax
Purpose
PRINT$
PRINT $ char [, char]
Prints string of characters
PUL SE
n = P U L S E (m )
Returns time from pulsed output
P U LS E n , m, b , t, p
Pulses an o utput bit
READ
R E A D variable
Reads DATA statement values
REMARK
'
Allows pr ogram comm ents
R E N U M
R E N UM [newline] . .
Renumbers program lines
RESTORE
RESTORE [line]
Resets read pointer
R E SU M E
R E SU M E
Continues program execution
RESUM E line
RESUME line
Continues program execution
RESUME NEXT
RESUME NEXT
Continues program execution
R E S U M E C O U N T
RESUME COUNT m
Reenables software counter
RETURN
RETURN
R e su m e s e x ec u ti on a ft e r G O S U B
RETURN ITR n
RETURN ITR n
Resumes execution after interrupt
RIGHT$
n$= RIGHT $(m$,p)
R e tu r n s r i gh t– m o s t p c ha r o f m $
R N D
n = R N D (m)
Returns pseudo– random number
R U N
R U N [line]
Begins program execution
SAVE
SAVE n
Saves program or data to memory device
SGN
n = S G N (m)
Returns the sign of m
SIN
n = S I N (m)
Calculates sine function
S O U N D
S O U N D frequency
Outputs square wave at a frequency
SPI
SPI(chan, len, data, dly, in)
Comm unicates with SPI devices (some cards only)
SQR
x= SQR(m)
Returns square root
START BIT
START BIT task number
Enables a BIT task
S T A R T C O U N T
START COUNT n
Activates softwar e counter(s)
S T A R T I N P
START INP n
Activates port check ing task
STOP
STOP
Term inates program execution
STOP BIT
STOP BIT task number
Disables BIT task
S T O P C O U N T
STOP COUNT n
Deactivates softwar e counter(s)
S T O P IN P
STOP INP n
Deactivates por t checking task
STR$
n$= STR$( m)
Converts m to a string n$
SYS
a= SYS(n)
Accesse s system da ta
TAB
PRIN T TA B(m)
Tabs to position m
TAN
n = T A N (n)
Return s the tangent indir ectly
T I C K
a= TICK( n)
Return time from 12 hour clock