Language Reference
ACTDEF
Item |
|
|
|
| Description |
|
|
| |
1 { 12 characters: | A { Z, 0 { 9, | and underscore | ( ). |
| First character | ||||
| must be a letter . | Numbers must | be preceded b | y underscore . | |||||
Readout Range | As allowed | b y | selected | units. |
|
|
|
| |
As allowed | b y | selected | units. |
|
|
|
| ||
|
|
|
|
Example Create a
60 | OUTPUT 723;"ACTDEF NEW_SPAN,500,NM,"; | Begin denition of active , | |||||||
|
|
| function, called NEW SP AN, that | ||||||
|
|
| has an initial value of 500 nm. | ||||||
70 | OUTPUT | 723;"@MPY SP,2,NEW_SPAN;@" | Multiply NEW |
|
| SPAN by 2, then set | |||
| |||||||||
|
|
| span equal to | the | product. End | ||||
|
|
| denition and store | the function. | |||||
80 | OUTPUT 723;"KEYDEF 3,NEW_SPAN;" | Assign function | to a 4USER5 key. | ||||||
90 | OUTPUT | 723;"VARDEF YY,0;" | Create a | ||||||
100 OUTPUT | 723;"MOV YY,NEW_SPAN;" | Set variable equal to NEW |
| SPAN. | |||||
|
Description The ACTDEF command stores in internal memory a
analyzer commands into one function, and then gives it a name. Executing the function name is the same as executing the series of commands contained in the function. (ACTDEF does not execute the function.)
In addition to creating a
The ACTDEF command is unique in that it makes the
Their current value is displayed in the
Their value can be changed with
Their value is expressed as a variable for operations with other