•  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-FileLIST [f$]
LLIST [f$]

f$: sexp

The command LIST displays the current program on the screen. Optionally, an
access path can be specified, by which the program can be stored in ASCII
format. Program sections that are to be inserted in to other programs by means
of 'MERGE', must be saved with LIST or SAVE,A from the Editor Menu, in ASCII
format.

When no extension is specified for the saving of a file, '.LST' is used as the
default extension.

By means of the command LLIST, the current program can be output to the
printer. The printer listing can be interrupted only by the switching off the
printer. Once switched off, the printer will probably continue to print for
some seconds before the program resumes or control is returned to the Editor.
(See LLIST and the .dot commands in the section covering the Editor.) In
addition, it is also possible to send text to a printer (see OPEN).

Examples:

    LIST "A:\TEST,LST"

--> The current program is stored under the name "TEST.LST" in ASCII format on
    drive A.

    .ll 70
    .pl 66
    LLIST

--> The current program is output to the printer with a line length of 70
    characters and a page length of 66 lines.