The following hints can help you plan effective login scripts. For a description of the commands you can use in a login script, see ``Login script commands and variables''.
For login script examples, see ``Examples of login scripts''.
No minimum. All four types of login scripts are optional. Login scripts can have only one line or they can have many. There are no required commands for login scripts.
Either uppercase or lowercase is accepted, except that identifier variables enclosed in quotation marks and preceded by a percent sign (%) must be uppercase. See ``Identifier variables''.
150 characters per line is maximum; 78 characters per line (common screen width) is recommended for readability.
Type all symbols (#, %, ", _ ) and punctuation exactly as shown in examples and syntax.
Use only one command per line. Start each command on a new line; press <Enter> to end each command and start a new command.
Lines that wrap automatically are considered one command.
The WRITE command output displays better if WRITE is repeated at the beginning of each wrapped line.
Generally, enter commands in the order you want them to execute, with the following restrictions:
Blank lines do not affect login script execution. Use them to visually separate groups of commands.
Lines beginning with REMARK, REM, an asterisk, or a semicolon are comments that do not display when the login script executes. Use remarks to record the purpose of each command or group of commands. (For examples, see ``REMARK'').
Type identifier variables exactly as shown. For the value of an identifier variable to be displayed on the workstation's screen as part of a WRITE command, you must enclose the identifier in quotation marks and precede it by a percent sign (%). See ``Identifier variables''.