! %VARNAME% = 'varname' ‰.
Applies to the VAR menu, CUSTOM menus obtained by pressing !£, (the left shift of the Hkey)or
via the programmable MENU or TMENU commands, and any menu containing a variable (e.g. pressing
! %EQ% in the ROOT menu [menu number 75] yields 'EQ' ‰ even in program mode.)
The function !î(the left shift of the `key) is really the LASTARG key in RPL mode. It performs
the LASTARG command EXCEPT when pressed immediately after pressing a ‰ or %PURGE% key, including
a !varname ‰. If !îis pressed immediately after a ‰, then the PREVIOUS contents of the
variable are returned (if any). If !îis pressed immediately after a %PURGE% key is pressed, then the
purged variable AND ITS CONTENTS are both returned to the stack. This does not apply if the variable is a
directory object. The purpose of these exceptions is to prevent disaster: If you accidentally PURGE a variable,
or wipe out a variable's contents by accidentally STOing something else into it, you can recover simply by
Pressing %EDIT% by itself is the same as pressing ˜: it performs an EDITB. ! %EDIT% performs an EDIT.
In the ROOT SOLVR ( @& Ï, %ROOT% , %SOLVR% ), pressing %VARNAME% performs 'varname' K.
@ %VARNAME% performs 'varname' ! ©. ! %VARNAME% solves for varname in the current equation.
Pressing ANY key (other than $) while the solver is working causes it to display the current solution
interval until a solution is found. Watching the progress of the solver this way lets you avoid waiting for
solutions when the process is not converging.
Menus that contain mode-toggling keys (e.g. the MISC menu ( !°L %MODES% L %MISC% ) handle the
shift keys in a special way. Pressing ! %MODE% *sets* the corresponding system flag (unrelated to the
previous or subsequent presence or absence of the "bullet" in the menu key), and in program mode types nn
SF where nn is the flag number. @ %MODE% performs the opposite: nn CF. Modes that do not behave this
way (e.g. STK and CMD) are not programmable modes.
In the first page of the PRG BRCH menu, pressing the shift keys before pressing any menu key provides a
handy typing shortcut for programmers. In all these cases, the cursor is placed at the end of the first command.
Thus these shifted keys can be thought of as "program structure delimiters". While entering a program,
! START types
@ START types
! WHILE types
In the EDIT menu, shift %SKIP% and shift %DEL% perform skip-to-end and delete-to-end, respectively.
@ %GOTO% is a shortcut for GOTO LABEL.
In the units menus, pressing a unit menu key multiplies by that unit, whereas @ %UNIT% divides by that unit.
! %UNIT% converts to that unit, if possible.
G - 4 Keyboard Shortcuts
IF THEN END
IF THEN ELSE END
CASE THEN END END
DO UNTIL END
WHILE REPEAT END