haines%BBN-UNIX@sri-unix.UUCP (07/07/83)
From: Edward Haines <haines@BBN-UNIX> There are several new reserved words in BASIC Release 2.0 that are not documented: ENVIRON, ENVIRON$, ERDEV, ERDEV$, INTER$, IOCTL, IOCTL$, KEY$, and SHELL. ENVIRON "X=value" command - sets environment variable X; like DOS SET X=value ENVIRON$("X") function - returns value of environment variable X. ERDEV, ERDEV$ ? INTER$ ? IOCTL, IOCTL$ access to the IOCTL functions in DOS (?) see DOS pages 14-7 and D-39 KEY$ ? SHELL command - takes you to DOS command level; return to BASIC with EXIT. SHELL "command" command - execute the specified DOS command and return immediately.