A.5 %while

A.5.1 Syntax

%while (condition) {action}

Conditional logic

== != > >= <<=

Conditions

loaded env nlminfo set

Actions

cmd set env

Values

numerical: such as decimal (0) or hex (0x...)

text: Make sure the text is surrounded with double quotes. For example,

"text"

For More Information

Type help %while condition|action

A.5.2 Examples

loaded Condition\Action

%while (loaded !portal) {cmd ...} %while (loaded nlmName&nlmName) {env iamalive=1}

env Condition\Action

%while (env testor!=0) {cmd ...} %while (env testif=="false") {cmd delay 5}

nlminfo Condition\Action

%while (nlminfo *:lang != 4) {cmd env nlm}

set Condition\Action

%while (set "bindery context"==0) {cmd ...} %while (set "application"=="yes") {cmd delay 5}