- Sky
- Blueberry
- Slate
- Blackcurrant
- Watermelon
- Strawberry
- Orange
- Banana
- Apple
- Emerald
- Chocolate
- Charcoal
TheCyberVerse
-
Content Count
2 -
Joined
-
Last visited
-
Days Won
1
Posts posted by TheCyberVerse
-
-
I need to get the contents of a file line by line because i am trying to create an open printer program but I'm not sure what to do.
I have tried:
while not (file:read("*l") == nil) do openprinter.writeln(file:read("*l")) end
But the file:read("*l") on the second line returned nil.
Any suggestions?
Problems with reading files.
in Programming
Posted
Thank you!