WBVerify.Script
This
description is mainly
thought for .script developers. Normal users should not worry if
they don't understand everything.
[Verify]
syntax
<check>:
If {<condition> | <only one> | <less equal one>} Then <action>
<*statement end>
<action>: {[<*warn>]<message text> |
<internal bool value>}
<append operator>: {<*and> |
<*or>}
<compare operator>:
{[<*neg>]<*equals> |
[<*neg>]<*greater> |
[<*neg>]<*less> }
<condition>: {<single condition>
[ <append operator> <single condition> [
... ]]}
<condition body>: {<logical
value> | <file name> | <text value><compare
operator><text value> |
<position><position
operator><position>}
<internal bool value>:
<*dollar><name><*dollar>
<less equal one>: {<*question><single condition>,<single condition>[,<single condition>[ .. ]],<*question>}
<logical value>: {<value> of
logical item like Selected, Check Box, Radio Button | <internal
bool value> }
<message text>:
<*quote><name>[<*space><name>[
... ]]<*quote>
<name>: any user defined word with lc and uc a
.. z
<next operator>:
[<*neg>]<*tilde>
<only one>: {<*asterix><single condition>,<single condition>[,<single condition>[ .. ]],<*asterix>}
<position operator>: {<compare
operator> | <next operator>}
<position>:
<*at><script><*at>
<script>: {relative path (from %ProjectDir%) to
script file | script title | <*me> |
<*arg>arg<number><*arg>}
<single condition>:
[<*neg>]<*condition start><condition
body><*condition end>
<text>: <*quote> name [name ...]
<*quote>
<text value>: {<value> |
<text>}
<value>:
<*percent><script>:<script file
section>.<script file key><*percent>
<*and>: ampersand &
<*arg>: hash mark #
<*asterix>: asterix *
<*at>: at sign @
<*close>: close parenthesis )
<*condition end>: curly brace close }
<*condition start>: curly brace open {
<*dollar>: dollar $
<*equals>: equals =
<*greater>: greater >
<*less>: less <
<*me>: 3 dollars $$$
<*neg>: exclamation !
<*open>: open parenthesis (
<*or>: pipe symbol |
<*percent>: percent %
<*question>: question mark ?
<*quote>: quote "
<*space>: space
<*statement end>: semicolon ;
<*tilde>: tilde ~
<*warn>: question mark ?
The
order of
condition evaluating is from left to right,
independent from 'And' /'Or'.
You may group
condition evaluating by additional curly braces
pairs. The order of
condition evaluating with curly braces is from
most inside to outside
Macros
Macro <*quote><name><*quote> <check>
Call
<*quote><name><*quote>
<*open>[<script>[<*comma><script>[<*comma>
...]]]<*close><*statement end>
2007-JUN-21, psc