Re: question converting to euphoria from qbasic
- Posted by Michael Raley <mjronline at IT-WORKS.COM> Apr 13, 1998
- 756 views
how about system("Type c:\\file.txt|more",2) ?:-] NEW! HTTP://www.geocities.com/SiliconValley/Lab/7577 Michael J Raley's Modular Reality Journal >>Really, what you're doing is reading each line of the file and >>printing it to the screen - essentially, the equivalent of the >>DOS built-in TYPE command. > >So I thought I'd offer a simpler one-command replacement: > > system("type c:\\file.txt", 1) -- bonus: beep and clear screen > >Since that doesn't do the task nicely (it clears the screen), how about a >two-command one: > > system("type c:\\file.txt", 2) > system("pause >nul", 2)