Chapter Contents |
Previous |
Next |
CALCULATE |
Abbreviation: | CALC |
Syntax | |
Details | |
Examples |
Syntax |
CALCULATE expression |
Details |
The CALCULATE command is an online calculator that evaluates expressions for the debugger. Expressions can include standard debugger expressions, SCL functions, and many of the SAS arithmetic functions. You can also use dot notation to perform operations on values that are returned by object attributes and methods.
Examples |
DEBUG> calc (1.1+1.2+3.4)*0.5The output to the debugger MESSAGE window is
calc (1.1+1.2+3.4)*0.5 2.85
DEBUG> calc (((sale-downpay)*rate)/12)+50
DEBUG> calc sum(a(1), a(2), a(3))
DEBUG> calc "Values="||x||object1.getMaxValue()
DEBUG> calc "%ckvars"
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.