home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
snobol4
/
vsnobol4.arc
/
FCOUNTS.SNO
< prev
next >
Wrap
Text File
|
1987-12-04
|
245b
|
12 lines
* FCOUNTS.SNO
*
* Sample program from Chapter 5 of the Tutorial
*
&TRIM = 1
CHARS = 0
NEXTL CHARS = CHARS + SIZE(INPUT) :F(DONE)
LINES = LINES + 1 :(NEXTL)
DONE OUTPUT = CHARS ' characters'
OUTPUT = +LINES ' lines read'
END