.LOCAL
Define subsequent fields as local
WTSupported in traditional Synergy on Windows
|
WNSupported in Synergy .NET on Windows
|
USupported on UNIX
|
VSupported on OpenVMS
|
.LOCAL
Discussion
The .LOCAL command specifies that subsequent fields in the current input window definitions are to be created, instead of drawn from the repository. This is the default state when an .INPUT command is issued. This command is used after you have specified .REPOSITORY_STRUCTURE to draw one or more fields from the repository, and you now want to create local fields.
An input window can contain local fields and fields from one or more repository structures.
Examples
This example defines an input window containing four fields. The first two fields, empnam and empid, are to be drawn from the repository. The last two fields, start_time and end_time, are local and will therefore be created.
.input emprec, 5, 35 .repository_structure empmas .field empnam .field empid .local .field start_time, d4, time, prompt("Enter starting time ") .field end_time, d4, time(now), prompt("Enter quitting time ") .structure time, start_time, end_time .set wktime, time .end