| restoreAlphaLock | Function (ROM Call 0x483)

AMS 2.00 or higher | kbd.h

void restoreAlphaLock (unsigned char *Status);

Restores the alpha-lock status.

restoreAlphaLock restores the alpha-lock status to the value saved in Flags, which is obtained through a call to alphaLockOn or alphaLockOff. It seems that these are the valid values for *Status:

0 | Alpha-lock is turned off.
1 | Alpha-lock is turned on.
2 | Uppercase alpha-lock is turned on. However, GetAlphaStatus will then return FALSE. This is the value which is used if the user presses SHIFT and then ALPHA.
3 | Uppercase alpha-lock is turned on. GetAlphaStatus will return TRUE.

On the TI-92+, the function does nothing.

Used by: Dialog, MenuKey, ROM Call 0x421

See also: alphaLockOn, alphaLockOff, SetAlphaStatus