Specifications
Free Format Variables Reference
PlantScape Server and Client Configuration Guide 291
R (Read From File)
Purpose
Used to read a value from either an operating system file or a server database file.
If the value is to be read from an operating system file the M entry should be
used to define the details about the file.
Format
R
Index No Rec_No Offset Print_Format Type
[
Read
]
Description
Index
Number (1-999) identifying variable to store value read from file.
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.
Print_Format
As described for entry type F, except S format.
Type
Data type in record
RL for Real
1for 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
[
Read
]
Optional. This specifies the format to be read from the specified sequential
file. If omitted, the value read is unformatted and has the same
representation as it does in memory.
plscpcg.book Page 291 Monday, May 28, 2001 10:11 AM