Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > write() |  |

write()

Syntax

    file("whichFile").write(stringValue)

Description

Multiuser Server server-side function; Writes the specified string to the given file. The file is created if necessary. This function returns a nonzero error code if it fails.

Example

This server-side statement writes the string "This is some new text" to the file Shortspeech.txt:

    file("HardDrive:Shortspeech.txt").write("This is some new text")

See also

`writeValue()`