The drop-down menu at "Window" on the task bar gives you access to the R and the O registers. Use the scroll bar to view all the registers, or the "Find.." to locate a register by name.
You may change the name, current value and text for the registers by clicking on the item. You must use the "Enter" key for the change to take effect. The "Esc" key allows you to abandon the editing. Note that while an editing window is open, the display is frozen.
You may also use the command line to name registers, assign text to them and set the values. (Commands : NAME, TEXT, LET, SET, START, STOP)
You may click on the R column to examine and edit the rules. You must use the "Enter" key for the change to take effect. The "Esc" key allows you to abandon the editing. Note that while an editing window is open, the display is frozen. When entering a new rule, make sure it starts with "=". When using the "FREE" selection to remove a rule, you must click on the text of the rule to be able to use the "Enter" or "Esc".
You may also use the commands RULE, EXEC, EXT, (etc.) and FREE on the command line.
The "greater than or equal" and "less than or equal" operators are entered and displayed as ">=" and "<=", respectively.
Reads a series of numbers from a given position in a file, into a set of consecutive registers, whenever an 'record number' register changes.
The following RTES command defines a TABLE function :
| register | is the name of the register that will be used as 'record number' |
| expression | is an arithmetic expression (just like a RULE) that will be used to determine the value of the register |
The two register immediately following the 'record number' register are automatically used by RTES. Their values represent respectively the number of the first register of the set to receive the values from the file, and the quantity of registers to use - that is the 'record length'.
The text area of the 'record number' register must specify the name of the file name that contains the data. The file must have the .bin extension, but the extension is not shown in the text area.
An example to illustrate the TABLE function:
R0025 SET_RECORD 0.00 T DATAFILE R0026 DATA_REG 30.00 R R0027 REC_SIZE 5.00 R ' ' R0030 DATA1 0.00 R0031 DATA2 0.00 R0032 DATA3 0.00 R0033 DATA4 0.00 R0034 DATA5 0.00 . . TABLE SET_RECORD=SET_RECORD
A test file DATAFILE.BIN may be built to contain the series of numbers 1 to 1000, with the following task:
R1024 FILENAME 0.00 DATAFILE.BIN 001 EOPEN 1 FILENAME 1 002 SET DATA1 0 003 LET DATA1=DATA1+1 004 WRITE 1 DATA1 005 IF [DATA1<1000] 3
If you set SET_RECORD to 1, DATA1 - DATA5 will read 1.00 to 5.00
If you set SET_RECORD to 10, DATA1 - DATA5 will read 46.00 to 50.00
If you set SET_RECORD to 100, DATA1 - DATA5 will read 496.00 to 500.00