Command Format
Examples
Text strings can include the following special characters:
Character
Meaning
\r
Causes a carriage return
\n
Starts a new line of text
\"
Displays a quotation mark on the screen
\7
Makes a beep sound
In addition to the semicolon, you can use other operators to form compound
strings (in other words, to join text and identifier variables into one command).
These operators are listed in the following table, in order of precedence:
Operator
Meaning
* / %
Multiply, divide, modulos
+ -
Add, subtract
>> <<
Shift left or right (1000 >> 3 becomes 1)
WRITE "[text][%identifier]" [;][identifier]
Replace text with the words you want to display on the screen.
Replace identifier with a variable you want to display, such as a user's login
name. See
"Using Identifier Variables" on page 62
variables.
To display the message Hello, add the following line to the login script:
WRITE "Hello"
To display the user's surname along with a greeting, add the identifier
LAST_NAME to the command. To do this, either join the text and the
identifier with a semicolon (;) or include the variable in the quotation marks
with the text.
Login Script Commands and Variables
for a complete list of
91
Need help?
Do you have a question about the NETWARE 6-DOCUMENTATION and is the answer not in the manual?
Questions and answers