Home page  
Help >
Command Answer Cells
Version 7.11
Command Answer Cells Command Answer Cells



There are five special variables. They are the "command answer cells." These five have special names that you may not use when assigning your own variable names.

You cannot set values into them. The commands do that. But you may use them as you would use any other variable in SET, CALC, and IF statements. And you can use the "value of" notation to substitute their value into the next command. They are:

                Ctl.Ans1                -The primary command answer
                Ctl.Ans2                -Second answer for commands that have two answers
                Ctl.Ans3                -Third answer for commands that have three answers
                Ctl.Status               -Zero or an error code. Error messages also occur.

The content of the answer cells depend on the command. For example, in a FIND command %answer always contains the number of records found. Each command description documents its own answers.

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.