Advice

The advice action is executed by first establishing the values of all parameters involved in the text expression and then writing the resulting text in a window on the screen. Pictures can be included anywhere in the advice and thereby be shown on the screen as part of the advice. The syntax for an advice is:

<advice> ::= advice <specification>

<specification> ::= <advice-item> {<specification>}

<advice-item> ::= text-expression | picture <picture-name>

Examples

advice

'There are three possible ways in which to start the car:

1) Tow or push-start

2) Recharge the battery

3) Use the battery from another car'

The advice will look like this in a consultation:

{bml ADVICE.BMP}