Contents - Index


$Input

 

The $Input directive (provided in the Professional license) provides a prompt to enter the value of an EES variable.  The format of the $INPUT directive is

 

$INPUT X 

 

where X is an EES variable. The EES variable may be a string variable, e.g., X$.

 

When solving, the $INPUT directive will display a dialog box prompting the user to enter a value, e.g., 

 

 

Entering a value for X is equivalent to providing an equation in the main program in the Equations window setting the value of X.

 

An optional text prompt may be included by appending it to the variable name separated by a backslash (\), e.g.,

 

$INPUT R$\Enter a refrigerant name

 

In this case the dialog box will appear as

 

 

 

 

Directives