forlang.hlp (Table of Contents; 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.
FORMAT
                                             Up Contents Index Back
─────FORMAT ────────────────────────────────────────────────────────────────
 
     Action
 
     Sets the format in which data is written to or read from a file.
 
     Syntax  FORMAT ([editlist] )
 
     Parameter          Description
 
     editlist           A list of editing descriptions
 
     Remarks
 
     FORMAT statements must be labeled.
 
     Valid edit descriptors are:
 
     w = width of field
 
     m = number of leading zeroes
 
     d = digits following decimal
 
     e = exponent
 
     Repeatable Edit Descriptors
 
     Descriptor    Use
 
     Iw[.m]        Integer values
 
     Zw            Hexadecimal values
 
     Fw.d          Real values
 
     Ew.d[Ee]      Real values with exponents
 
     Gw.d[Ee]      Real values, extended range
 
     Dw.d          Double-precision real values
 
     Lw            Logical values
 
     A[w]          Character values
                                    -♦-