@Parameters
Declares a Program’s parameters: one mode:&Variable entry per line. The type comes from the matching declaration in @Variables/global, it isn’t repeated here.
| Mode | Description |
|---|---|
in | Input parameter: the caller passes a value, this program can’t return it modified. |
inout | Input/output: the caller passes a value, and this program can modify it back. |
out | Output: this program sets it, the caller only reads it back. |
@Variables {
global {
MyDate date
MyTime char(8)
}
}
@Parameters {
inout:&MyDate,
inout:&MyTime
}
Doesn’t apply to Screen (doesn’t receive parameters) or tables.