Specifications

Free Format Variables Reference
PlantScape Server and Client Configuration Guide 295
W (Write to File)
Purpose
Used to write a value from a free format variable to either an operating system
file or a server database file. If an operating system file is to be accessed, then the
details about the file should be specified with the M entry.
Format
W
Index No Rec_No Offset Type
[
Write
]
Description
Index
Number (1 - 999) identifying the database variable storing the value to be
written.
No
File Number 1 - 500 for server file;
501 - 599 for operating system defined files.
Rec_No
Record number within file
Offset
Word offset within record for relative files,
character offset for sequential files.
Type
Data type in record
RL for Real
I for Integer
I2 for integer*2
I4 for Integer*4
Ib.w for bit field: b=bit, w=width
DP for Double Precision
An for ASCII: n=length of string
[
Write
]
Optional. Format to write in specified sequential file. If omitted, the value
written will be unformatted and has the same representation as it does in
memory.
In Integer
Zn Short integer in hexadecimal notation
Fn.mFloating point
En.mFloating point in exponential form
plscpcg.book Page 295 Monday, May 28, 2001 10:11 AM