next up previous contents index
Next: AND, XLAND Up: A. Function Reference Previous: ACOSH   Contents   Index


ALARM

Syntax: ALARM(X, S)

X = an expression
S = a string ( evaluated as an expression if X is non-zero )

ALARM evaluates expression X. If X evaluates to non-zero, it beeps and returns the result of evaluating string S as an expression. If X evaluates to zero, S is not evaluated and the return value is zero.

Examples:

ALARM(Pressure $>$ 500, ``REMOTE_FN(Pressure)'')

If ``Pressure'' exceeds 500, then the terminal beeps and REMOTE_FN is called with the value of ``Pressure''.

Excel function: N/A


next up previous contents index
Next: AND, XLAND Up: A. Function Reference Previous: ACOSH   Contents   Index
SpreadScript User's Guide, Version 1.2
Grey Trout Software
02 March 2003