bas7advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SHELL Function Details
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
The SHELL function returns an integer value that is the OS/2 process ID
for the shelled process.
 
SHELL(commandstring$)
 
Usage Notes
    ■ Like the SHELL statement, the OS/2 protected-mode SHELL function
      permits a BASIC program to execute another process. In addition,
      the SHELL function allows the BASIC program to continue execution
      without waiting for the child process to terminate, and returns the
      process ID of the child process.
    ■ This process ID is used by some of the OS/2 API functions (which
      can be called from BASIC).