...
Scroll tablelayout | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Return value
integer
Examples
...
language | text |
---|
int $fileID;
...
string $fileName = "c:/test.txt";
...
// Open the file and get the file ID, so we can write to the file
...
// later
...
$fileID = `fileOpen $fileName "w"`;
...
// Write a string to the file, passing in the file ID
...
// as the first argument. Almost all File I/O commands
...
// take a file ID as the first argument.
...
writeString $fileID "This is some text";
...
// Be sure to close the file after you are done
...
fileClose $fileID;
Additional information
Related commands
...