Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

Asknumber Primitive

To create a model that prompts the user for input data, use the asknumber primitive. Asknumber has the format

asknumber( message, default, title )

Message is a required argument while default and title are optional.

If the mortgage example's definition of Price is changed from

Price:=150000

to

Price:=asknumber("House purchase price?")

DecisionPro will prompt the user for the value of Price whenever the model is recalculated. Each time a value for Price is needed, a dialog box prompts the user for input.

dph00332.gif

Although the default and title arguments are not used in the mortgage example, you can supply values for these arguments so that a default value is displayed in the edit box and a title is displayed on the window title bar.

The definition of all of the input nodes can be changed to include the asknumber primitive as illustrated below. This creates a model that prompts for all required input values.

dph00333.gif

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend