AMOSi:Scan$
an example can be found on AMOSPro_Examples:Examples/H-5/Help_54.AMOS
Returns an internal code for use with the keyboard macros defined with KEY$.
c$=Scan$(n)
Generates the code for scancode n.
c$=Scan$(n,m)
m enters an optional mask for the special keys such as ALT or SHIFT. See SHIFT KEY for more details.