The problem is that the rightmost square bracket touches $calc's closing bracket. Evaluation brackets must not touch anything else otherwise they lose their special meaning. Try this:
var %change = $calc($2 - %bonus_ [ $+ [ $1 ] ] )
Last edited by qwerty; 27/01/03 05:47 AM.