Description
LangVar sets a variable to the number of a language. It starts with <src var dir
name>, then it looks for a subdirectory whose name is a number that matches
the current server language number. If the subdirectory is found, <lang var>
is set to that number; otherwise, <lang var> is set to <default>.
Example
Assuming the current language is 6:
LangVar 4, lang, NWSRC, '', ''
This command looks in the source install directory for a subdirectory named
6. Finding it, it sets lang to 6.
Menu
Syntax
Menu <var name>, <Prompt>, <# of menu options>, <default menu
option>, <first choice>, <first value>, <second option>,
<second value> [<third option>, <third value>,] [<fourth
option>, <fourth value>]
Description
Menu command will display a window with the <Prompt> showing in a
header area. The <choices> will display in a scrolling area below the header.
The <# of menu options> is 1 based. The <default menu option> is zero based.
The entire command is terminated without a comma after the final value.
Example
Menu done, "Are you ready to continue?", 2, 0,
"Yes", 1,
"No", 0
The Menu command displays a box on the screen with the Prompt "Are you
ready to continue?" Below it the choices are "Yes" and "No." The "Yes"
option is highlighted as the default option. Upon selecting the option, the value
will be placed in the variable. The values must be integers.
Installation Scripts for NetWare 145
Need help?
Do you have a question about the NETWARE 6-DOCUMENTATION and is the answer not in the manual?