67
STOKEYS
* = function
SRB Shifts a binary integer one byte to the right.
< P
BASE
BYTE
#n
1
→
#n
2
SRECV Returns up to
n
characters from the serial input buffer, with
an error digit if an error occurred.
N
n
→ ‘
string
’ 0/1
SREPL Finds and replaces a string in a text object.
N
“
string
1
” “
string
2
” “
string
3
”
→ “
string
4
”
START Begins START … NEXT and START … STEP definite
loop structures.
<N
BRANCH
START x
start
x
finish
→
STD Sets the number display format to standard mode.
N
STEP Defines the increment (step) value, and ends definite loop
structure.
<N
BRANCH
STEQ Stores an object into the reserved variable
EQ
in the
current directory.
N
obj
→
STIME Specifies the period that SRECV (serial reception) and
XMIT (serial transmission) wait before timing out.*
N
x
seconds
→
STO Stores an object into a specified variable or object.
k
obj
‘
name
’
→
STOALARM Stores an alarm in the system alarm list and returns its
alarm index number.
>ç
TOOLS
ALRM
x
time
→
n
index
STOF Sets the states of the system flags or the system and user
flags.
N
#n
system
→
STOKEYS Assigns objects to specified keys on the user keyboard.
N
{
obj
1
,
x
key 1
,
... obj
n
,
x
key n
}
→
Name Description Access Inputs Outputs