Jump to content

Kernighans large earthquake problem: Difference between revisions

Line 775:
 
%f
dup "r" fopen >!f
<$f 0 less< ( [drop "Could not open '" print print "' for reading" print -1 end ] [drop] ) if
 
[dup split 3 get tonum 6 great> ( [drop print nl] [drop drop] ) if]
[<$f fgets dup -1 nequal#]
while
 
drop
<$f fclose
 
"End " input</lang>
672

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.