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.
BYTE
                                             Up Contents Index Back
─────BYTE───────────────────────────────────────────────────────────────────
 
     Action
 
     Specifies the BYTE type for user-defined names.
 
     Syntax
 
     BYTE vname [ [attrs] ] [(dim)] [/values/]
    +      [ , vname [ [attrs] ] [(dim)] [/values/] ] ...
 
     Parameter          Description
 
     vname              The symbolic name of a constant, variable,
                        array, external function, statement function,
                        or intrinsic function; or, a function
                        subprogram or an array declarator. The <vname>
                        parameter cannot be the name of a subroutine or
                        main program.
 
     [attrs]            A list of attributes, separated by commas. The
                        [attrs] describe <vname>.
                        See also: Attributes
 
     dim                A dimension declarator. Specifying <dim>
                        declares <vname> as an array.
 
     values             A list of constants and repeated constants,
                        separated by commas. A repeated constant takes
                        the form n*constant, where n is a positive
                        integer constant. The <values> option
                        initializes <vname>.
 
     Remarks
 
     A BYTE statement confirms or overrides the implicit type of
     <vname>. The name <vname> is defined for the entire program unit,
     and cannot be defined by any other type statement in that program
     unit.
 
     BYTE statements must precede all executable statements.
 
    Example
 
           BYTE count, matrix(4, 4) / 4*1, 4*2, 4*4, 4*8 /
                                    -♦-