Input/Output:

 

 

Level 1/Argument 1

Level 1/Item 1

 

 

 

 

 

 

xseconds

 

 

0

 

BUFLEN,

 

 

See also:

CLOSEIO, SBRK, SRECV, XMIT

 

 

 

 

 

STO

Command

 

Type:

 

Description:

Store Command: Stores an object into a specified variable or object.

 

Storing a graphics object into PICT makes it the current graphics object.

 

To create a backup object, store the obj into the desired backup location (identified as

 

:nport:namebackup). STO will not overwrite an existing backup object.

 

To store backup objects and library objects, specify a port number (0 through 3).

 

After storing a library object in a port, it must then be attached to its directory before it can be

 

used. The easiest way to do this is to execute a warm start (by pressing $& C). This also

 

causes the calculator to perform a system halt, which clears the stack, the LAST stack, and all local

 

variables.

 

 

STO can also replace a single element of an array or list stored in a variable. Specify the variable in

 

level 1 as name(index), which is a user function with index as the argument. The index can be n or

 

n,m, where n specifies the row position in a vector or list, and n,m specifies the rowandcolumn

 

position in a matrix.

 

Access:

K

 

Input/Output:

Level 2/Argument 1

Level 1/Argument 2

Level 1/Item 1

 

 

 

obj

'name'

grob

PICT

obj

:nport :namebackup

obj

'name(index)'

backup

nport

library

nport

library

:nport :nlibrary

Example 1: 'A+B+C+D' 'SUMAD' STO stores the expression A+B+C+D in the variable SUMAD.

Example 2: 5 'A(3)' STO stores the integer 5 in the third element in a list or vector A.

Example 3: 2 'A(3,5)' STO stores the integer 2 in the element in the third row and fifth column of matrix A.

See also: DEFINE, RCL, →,

STOALARM

Type: Command

Description: Store Alarm Command: Stores an alarm in the system alarm list and returns its alarm index number.

If the argument is a real number xtime, the alarm date will be the current system date by default.

If objaction is a string, the alarm is an appointment alarm, and the string is the alarm message. If objaction is any other object type, the alarm is a control alarm, and the object is executed when the alarm comes due.

xrepeat is the repeat interval for the alarm in clock ticks, where 8192 ticks equals 1 second.

3236 Full Command and Function Reference

Page 356
Image 356
HP 50g Graphing, 48gII Graphing manual Stoalarm, Buflen, CLOSEIO, SBRK, SRECV, Xmit, Access Input/Output