VMS Help
MACRO, VAX MACRO Assembler, Directives, .REPEAT (.REPT)

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    Repeats a block of code a specified number of times, in line  with
    other source code.  The .ENDR directive specifies the end of the
    range.

       .REPEAT expression
            ...
           range
            ...
       .ENDR

    expression

    An expression whose value controls the number of times the  range
    is to be assembled within the program.  When the expression is less
    than or equal to 0, the repeat block is  not  assembled.   The
    expression must be absolute and must not contain any undefined
    symbols.

    range

    The source text to be repeated the number of times specified  by
    the value  of  the  expression.   The  repeat  block  can  contain
    macro definitions, indefinite repeat blocks, or other repeat
    blocks.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.