Expression Operators - Symantec WISESCRIPT EDITOR 7.0 SP2 - FOR WISE INSTALLATION EXPRESS V1.0 Installation Manual

Hide thumbs Also See for WISESCRIPT EDITOR 7.0 SP2 - FOR WISE INSTALLATION EXPRESS V1.0:
Table of Contents

Advertisement

Variable
SENDTO
STARTMENU
STARTUP
TEMPLATES
TEMP
USERPROFILE

Expression Operators

WiseScript Editor Reference
Description
Folder that contains user
specific items to be run on
startup on the destination
computer.
C:\Documents and
Settings\user\Templates.
Folder where temporary
files can be created.
Location of the current
user's profile.
In conditionals, loops, and Set Variable commands, you can use the following operators:
symbols, functions, or logical operators.
Operators can operate on a variable or a constant. There are two types of constants:
numeric and string. Numeric constants must be a positive or negative integer (example:
234 or -100). Strings must be enclosed in quotation marks (" ").
If you enter a variable name instead of a number or string in any of the functions below,
do not enter the % characters around the variable name. Variables must follow standard
naming conventions.
See
Variables and Expressions
For details on scripts that demonstrate using expression operators, see the sample
scripts that manipulate strings and perform calculations. For details on sample scripts,
see ScriptHelp.htm in the Samples subdirectory of this product's installation directory.
Symbols
+
Addition
Subtraction
*
Multiplication
/
Division
Functions
Left$(str, position)
Example Value
C:\Documents and Settings\User\SendTo
C:\Documents and Settings\User\Start Menu
C:\Documents and Settings\User\Start
Menu\Programs\Startup
C:\DOCUME~1\User\LOCALS~1\Temp
C:\Documents and Settings\User
on page 34.
Returns the left portion of a string, where str is the string,
and position is the number of characters from the left to
return. Example: Left$("windows",3) returns "win."
Quick Reference
164

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WISESCRIPT EDITOR 7.0 SP2 - FOR WISE INSTALLATION EXPRESS V1.0 and is the answer not in the manual?

Questions and answers

Table of Contents