Table 4.4 Reserved Characters – Text Files
Reserved Character(s)
|
Description
|
“#” or “!”
|
A “#” or “!” causes the rest of the line from that point on to be ignored. Useful for “commenting-out” unwanted commands, and for all that modelling documentation.
|
==
|
A “==” following a command indicates the start of the parameter(s) for the command. Where there is more than one parameter, the parameter values are read as free-field formatted, ie. are space or comma delimited.
|
Additional text can be placed before and/or after a command. For example, a line containing the command Start Time to set the start time of a simulation to 10 hours can be written as “Start Time == 10” or “Start Time (h) == 10”. The “(h)” text is not a requirement, but is useful to indicate that the units are hours. Alternatively, “Start Time == 10 ! hours” would be acceptable, noting the use of the comment delimiter “!”.
The notation used to document commands and valid parameter values are presented in Table 4 .5.
Table 4.5 Notation Used in Command Documentation – Text Files
Dostları ilə paylaş: |