WBHandleDependencies.Script

This description is mainly thought for .script developers. Normal users should not worry if  they don't understand everything.

[Dependencies] syntax

If <condition> Then <actionlist> <*statement end>

<condition>: <*block start><single condition> [ <*and> <single condition> [ ... ]]<*block end>

<single condition>:  [<*neg>]{<scriptselection> | <valuecompare>}

<scriptselection>: <*block start><script><*block end>

<valuecompare>: <*block start><*block start><variable><*block end> <compare operator> <value><*block end>

<variable>: <script>:<interfacevariable>

<interfacevariable>: %????% of section [Interface]

<script>: {script title | <*me>}
 
<compare operator>: {[<*neg>]<*equals> | [<*neg>]<*greater> | [<*neg>]<*less> }
  
<actionlist>: <action> [<action> [<action> ... ]]
 
<action>: <*block start>{<Select> | <Unselect>  | <Set>}<*block end>

<Select>: Select <*block start><script><*block end>

<Unselect>: Unselect <*block start><script><*block end>

<Set>: Set <*block start><variable><*block end> <value>
 
 
<*and>: ampersand &
<*me>: 3 dollars $$$
<*neg>: exclamation !
<*equals>: equals =
<*greater>: greater >
<*less>: less <
<*statement end>: semicolon ;
 <*block end>: curly brace close }
 <*block start>: curly brace open {

The order of condition evaluating is from left to right, independent from 'And'.


 2007-JUN-21, psc