Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > readValue() |  |

readValue()

Syntax

    file("whichFile").readValue()

Description

Multiuser Server server-side function; reads the value written in the specified file. All core Lingo data types are supported (void, integer, string, symbol, floating-point number, list, propertyList, point, rect, color, date, media, picture, 3D vector, and 3D transform). Files containing other data types return `Void`.

Example

This server-side statement assigns the value in the file Sunset.tmp to the variable `tempImage`:

    tempImage = file("HardDrive:Images:Sunset.tmp").readValue()