•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FileSHEL_READ(cmd$,tail$)

cmd$, tail$: svar

This function allows the program to identify the command by which it was
invoked, and returns the name and the command line, if any.

Returns 0 if an error occurred.

    cmd$  - Returns the program name.
    tail$ - Returns the command line.

Memo: A bug in the editor causes cmd$ to be +1 longer than it should be.
        A hidden trailing null is left on the end of the string.

shel_read()+