Read a file line by line: Difference between revisions

Content deleted Content added
Blanvill (talk | contribs)
→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)"
Galilei (talk | contribs)
Line 2,850: Line 2,850:
<syntaxhighlight lang="phixmonti">include ..\Utilitys.pmt
<syntaxhighlight lang="phixmonti">include ..\Utilitys.pmt


argument 1 get "r" fopen var f
argument 1 get "r" fopen >ps


true
true
while
while
f fgets number? if drop f fclose false else print true endif
tps fgets number? if drop ps> fclose false else print true endif
endwhile</syntaxhighlight>
endwhile</syntaxhighlight>