String Variable Assignment

String variables can be assigned by in much the same manner as numeric variables.

Here is an example of their use:

$PROGID=MSG

...

%IF $ANSWER<>Y %THEN %GOTO @SKIP

...

...

...

@SKIP

 

String comparisons are space dependent. There should be no space after the operator and a space should be placed after the testing string.

String variables may be defined as in the following example to obtain strings which contain spaces; for example:

$STRING="This is a string variable"

$MESSAGE="***A string message ***"