Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The @@QUESTION command is used to ask a question and to receive a valid reply.

Panel
bgColor#ffffcc

                                                                                            Required

  @@QUESTION

                                                         Required

  @@QUESTION 

------PROMPT------

 

'text'

 -

-----------------------

-

             >-----

ANSWER 

ANSWER -----

 @@CANSnnn  

@@CANSnnn  ---------------------> 

                                @@NANSnnn 

                                              @@NANSnnn 

 -----------------------------------------------------------------

----

                                                                                          Optional 

                                                         Optional 

             >-----

EXTEND 

EXTEND -----

 

'text'

 

---------------------------------> 

                              |          |                        

                              -- 8 max 

                                         |                |                        

                                         -- 8 max -- 

             >-----

LOWER 

LOWER ------

 

*NO  ------------------------------

---> 

                                             

                                

*YES

             >---- VALUES -----

 VALUES 

compare value -----

 compare value 

------------------> 

                              |                 |                 

                                         |                            |                 

                                         

                              

-----

 40 max 

40 max ------

             >---- RANGE ---

 RANGE 

--- low value -- high value ----

 low value 

--

 high value 

--------> 

                              |                          |        

                                         |                                          |        

                                         

                              

---------

 20 max 

20 max ---------- 

             >---- SPCVAL --- from value -

 SPCVAL 

- replacement value --

 from value 

--

 replacement value 

--> 

                              |                         |         

                                         |                                        |         

                                         

                              

---------

 40 max 

40 max ----------

             >-----

HELPIDS 

HELPIDS ---- HELP panel identifiers -------

 HELP panel identifiers 

---------| 

                              |                         |         

                                         |                                        |         

                                         

                              

--------

 10 max 

10 max -----------         

Parameters

PROMPT

Specifies the prompt text for the question. This is up to a maximum of 74 characters. The prompt text may contain special variables (refer to the 15.22.5 Special Template Variable Notes on special variables). More detailed prompt text can be placed in the EXTEND parameter.

ANSWER

Specifies the "special" variable that is to contain the answer to the question. It must be one of the special question and answer variables described in a following section (i.e. @@CANSnnn or @@NANSnnn). The last 2 characters of nnn may be a 2 character index name, which will be substituted by the current numeric value of the index.

EXTEND

Specifies the extended prompt text for the question if the PROMPT parameter cannot contain a full enough description of the question. This is up to a maximum of 8 lines of 74 characters. The extended text may contain special variables.

LOWER

Specifies whether the answer to the question is to remain in lowercase rather than being converted to uppercase.

VALUES

Specifies from 1 to 40 values to be checked against the answer.

RANGE

Specifies from 1 to 20 ranges of values to be checked against the answer. Each individual range must consist of a "low" value and a "high" value.

SPCVAL

Specifies from 1 to 20 values to be replaced by another value e.g. "Y" to "*YES".

HELPIDS

Specifies up to 10 HELP panel identifiers for this application template which will be displayed when the user presses the HELP function key. These are presented as full page screens of HELP.

...