1 2 3 4 5 6 7 8
define action $action($b,$c) as $d = $b + $c; select $b; select $c; select $d; end define; do $action(1,2);