Variables and Constants
Variables and constants are used to hold values or expressions. Think back to your ninth-grade algebra class. In the equation 2 + y = x, y is the variable. See, your teacher was right—this may prove useful yet. Variables can have any name. So “y” or “x” is a valid name. But they should be named something that makes sense. Consider which of the following is easier to follow. 2 + y = x or 2 + strVariablePercent = strPercentMarkUp. I would say you can understand more from the second equation than the first, even without knowing the context. Add a line of comments, note the proper case, and you are on your way to well-formatted descriptive rules.
A variable is a value that changes depending on parameters and when it is used. ...
Get Oracle Hyperion Financial Management Tips And Techniques now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.