Descargar Imprimir esta página

Steren CAL-150 Instructivo De Uso página 241

Publicidad

Idiomas disponibles

Idiomas disponibles

You not only can add skips at the beginning of a program,
you can add destination sub-routines at any point of the pro-
gram.
Example:
Calculate y=ax+b when the value of x changes each time
it is executed, while a and b can change depending on the
operations.
When this program is executed, the values for a and b are
stored in memory slots A and B respectively. Afterwards,
only the x value can be changed.
In this way, an unconditional skip is made according to the
Goto and Lbl commands and the fl ow of the program execu-
tion is changed.
When there is no Lbl n command to go with a Goto n com-
mand, an error message will appear on the screen (Go er-
ror)
Conditional Skips
Conditional skips compare a numeric value stored in memo-
ry to a constant or another numeric value stored in memory.
If the condition is true, the command after
will be ex-

Publicidad

loading