Library /sys$common/syshlp/BASICHELP.HLB  —  FOR
  The  FOR  statement  repeatedly  executes  a  block  of  statements  while
  incrementing  a  specified  control  variable  for  each  execution of the
  statement block.  FOR loops can be conditional or  unconditional  and  can
  modify other statements.

  Examples

  FOR I% = 1% TO 10% STEP 2%
       .
       .
       .
  NEXT I%
  FOR N% = 5% STEP 4% WHILE 400 - Z < .0001
       .
       .
       .
  NEXT N%
       .
       .
       .
  PRINT I% ** I% FOR I% = 1% TO 3%
Additional Information: explode extract
Syntax

DECNET_REGISTER_FORMS.HLB

Close Help