tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
|
|
@ -0,0 +1,22 @@
|
|||
//Create a file object
|
||||
|
||||
%f = new fileObject();
|
||||
|
||||
//Open and read a file
|
||||
|
||||
%f.openForRead("PATH/PATH.txt");
|
||||
|
||||
while(!%f.isEOF())
|
||||
{
|
||||
//Read each line from our file
|
||||
|
||||
%line = %f.readLine();
|
||||
}
|
||||
|
||||
//Close the file object
|
||||
|
||||
%f.close();
|
||||
|
||||
//Delete the file object
|
||||
|
||||
%f.delete();
|
||||
Loading…
Add table
Add a link
Reference in a new issue