Programs > Using Programs
  
Using Programs
Use programs to define expressions that would be either ambiguous, difficult to read, or impossible to construct using ranges, conditional functions, and arrays. You can also use programs to conserve memory by defining intermediate steps in large array calculations within the body of the program. The intermediate values are kept in memory only while the program runs rather than until you close the worksheet. Examples of various possibilities for programming follow.
You can create standalone programs:
Click to copy this expression
You can create programs that have only one step without entering the program operator:
Click to copy this expression
You can add programs to a math expression that you evaluate:
Click to copy this expression
You can insert programs when you define a variable or a function:
Click to copy this expression
You can then use the variable or function in your worksheet:
Click to copy this expression
You can define a function in one worksheet for use in other worksheets.