Contents  Index  
──────────────────────────────────────────────────────────────────────────────
Allocates space for variables in a random-access file buffer.

FIELD [#]filenumber%, fieldwidth% AS stringvariable$
                    [,fieldwidth% AS stringvariable$] ...filenumber%        The number of an open file.
    ■ fieldwidth%        The number of characters in the field.
    ■ stringvariable$    A variable that identifies the field and contains
                         field data.

    ■ Record variables usually provide a better way to handle record data.

Example:
    OPEN "FILEDAT.DAT" FOR RANDOM AS #1 LEN = 80
    FIELD #1, 30 AS name$, 50 AS address$

See Also    GET, PUT    LSET, RSET    TYPE    Differences from BASICA
──────────────────────────────────────────────────────────────────────────────
 © Copyright Microsoft Corporation, 1987-1992. All rights reserved.
   Converted from qbasic.hlp with DosHelp/HelpConvert