Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. text="";
  2. filename = "myfile";
  3. sentence = "this is a sentence.";
  4.  
  5. write_to_file(filename, sentence);
  6.    
  7. for i in 0...100 do
  8.     text += read_from_file(filename) ;
  9. end
  10.    
  11. print text;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement