# Write the words dos_system demo to the file c:\demo.tmp.
dos_system("echo dos_system demo > c:\\demo.tmp");
# Read file line by line.
while(getline line < "c:\\demo.tmp");
# Type contents into a Pause message.
pause(line);
# Close file.
close("c:\\demo.tmp");
# Delete file.
dos_system("del c:\\demo.tmp");