Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!seismo!hao!hplabs!sri-unix!haines@BBN-UNIX From: haines%BBN-UNIX@sri-unix.UUCP Newsgroups: net.micro.pc Subject: Undocumented BASIC 2.0 Commands Message-ID: <2945@sri-arpa.UUCP> Date: Wed, 6-Jul-83 23:32:07 EDT Article-I.D.: sri-arpa.2945 Posted: Wed Jul 6 23:32:07 1983 Date-Received: Wed, 13-Jul-83 06:15:31 EDT Lines: 27 From: Edward HainesThere 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.