Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > writeValue() |
![]() |
writeValue()
Syntax
file("whichFile
").writeValue(whatValue
)
Description
Multiuser Server server-side function; writes a Lingo value to a file. All core lingo types are supported (void, integer, string, symbol, floating-point number, list, propertyList, point, rect, color, date, media, picture, 3D vector, and 3D transform). All other values are written as VOID
. This function returns 0
if the operation succeeded, 1
if it failed. The file will be created if it does not yet exist.
Example
These server-side statements write an image value to the file Tempimage.tmp:
-- get the image data from the content of a message sent by -- the movie theImage = fullMsg.content -- write value to the file file("HardDrive:Images:Tempimage.tmp").writeValue(theImage)
See also
![]() |