Problem: &SETKEY command does not assign function keys
SML's &SETKEY command does not allow any function key to be set. Another common problem is that &SETKEY does not work if used in a compiled SML.
ANSI.SYS is either not present in the CONFIG.SYS file, or it is not getting
Solution or Workaround
Make sure that the following line or its equivalent is present in the CONFIG.SYS file:
If the SML is to be compiled, use the following syntax to use the &SETKEY function within a compiled SML:
&system "&setkey f1 commands &cr