A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
10
Task/Input-loop/HicEst/input-loop.hicest
Normal file
10
Task/Input-loop/HicEst/input-loop.hicest
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
CHARACTER name='myfile.txt', string*1000
|
||||
|
||||
OPEN(FIle=name, OLD, LENgth=bytes, IOStat=errorcode, ERror=9)
|
||||
|
||||
DO line = 1, bytes ! loop terminates with end-of-file error at the latest
|
||||
READ(FIle=name, IOStat=errorcode, ERror=9) string
|
||||
WRITE(StatusBar) string
|
||||
ENDDO
|
||||
|
||||
9 WRITE(Messagebox, Name) line, errorcode
|
||||
Loading…
Add table
Add a link
Reference in a new issue