Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > flush()

 

flush()

Syntax

file("whichFile").flush()

Description

Multiuser Server server-side function; writes any buffered information to the file. Information becomes buffered when writing small amounts of data with the write() or writeValue() commands.This occurs automatically when the file is closed. The function returns a nonzero error code if it fails.

Example

This server-side statement writes information from the server's buffer to the file Testfile.txt:

file("C:\Multiuser_Server\Testfile.txt).flush()

See also

write(), writeValue()