SrchNCF
ValueSet
ValueAdd
152 Other Installation Options
Syntax
SrchNCF <ncf path var>, <ncf file name>, <keystring>,
<foundline var name>
Description
SrchNCF searches an .NCF file for line containing a substring matching
<keystring> (non case-sensitive). If found, the line of text will be returned;
otherwise <foundline var name> will be empty.
NOTE:
The same value as not found will be returned if an error is encountered (for
example, invalid filename, read error, etc). It is assumed that this command will be
used before calling
EditNCF (page 137)
code that can be acted on as necessary.
Example
GetPath sys, 1, 'SYS:\\', ''
SrchNCF sys, 'SYSTEM\\AUTOEXEC.NCF', "Load Monitor", ccode
The SrchNCF command will search the SYS:\SYSTEM\AUTOEXEC.NCF
file for the string 'Load Monitor' and return the line number in ccode if found.
Syntax
ValueSet <var name>, <value>
Value Add <var name>, <value>
Description
ValueSet sets, and ValueAdd adds to, the numeric contents of variable <var
name>.
Example
ValueSet srcVar, 1
The variable srcVar is created if it did not exist and is set to 1.
which returns a more detailed completion
Need help?
Do you have a question about the NETWARE 6-DOCUMENTATION and is the answer not in the manual?