Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/gipsy/sheltran/FOR.html
Дата изменения: Unknown
Дата индексирования: Fri Jan 16 21:49:43 2009
Кодировка:
Sheltran - FOR construct

Sheltran - FOR construct


Form:

      FOR <loop control>
         <statement>...
    [    XFOR 
         <statement>...  ] 
      CFOR

Note:

The rules for writing <loop control> are identical to those for the FORTRAN DO-loop.

Actions:

The actions follow the FORTRAN DO-loop control actions. At any point in the FOR-loop an XFOR statement may be inserted. This statement transfers control to the statement following CFOR.

Example:

 
      FOR I=1,80
         LINE(I)=' ' 
      CFOR

Programming GIPSY