Files

- XLogo

simple

Primitive Alt Action
SetDirectory [abcd]
ChangeDirectory abcd
Directory
Files
SetDir
CD
Dir
LS
Set current directory to abcd
Change to directory abcd.
Return current directory.
List contents of current directory.

Primitive Action
Save word list
Saved
word
Load
word
Save procedures in list in file named word.
Save procedures currently defined in file named word.
Opens and read file named word.

Primitive Action
OpenFlow id file
ListFlow
ReadLineFlow
id
ReadCharFlow
id
WriteLineFlow
id [abcd]
AppendLineFlow
id [abcd]
CloseFlow
id
EndFlow?
id
Open a flow towards file with id.
List all open fluxes with their identifiers.
Open flow id and read a line in the file.
Open flow id and read a character in the file.
Write text line contained in list to file id.
Write text line contained in list to end of file id.
Close flux id.
Return true if end of file, else false.