September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
10
Task/Loops-While/DCL/loops-while.dcl
Normal file
10
Task/Loops-While/DCL/loops-while.dcl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
$ i = 1024
|
||||
$Loop:
|
||||
$ IF ( i .LE. 0 ) THEN GOTO LoopEnd
|
||||
$ WRITE sys$output F$FAO( " i = !4UL", i ) ! formatted ASCII output, fixed-width field
|
||||
$ ! Output alternatives:
|
||||
$ ! WRITE sys$output F$STRING( i ) ! explicit integer-to-string conversion
|
||||
$ ! WRITE sys$output i ! implicit conversion to string/output
|
||||
$ i = i / 2
|
||||
$ GOTO Loop
|
||||
$LoopEnd:
|
||||
Loading…
Add table
Add a link
Reference in a new issue