Prompt Conversions
Prompt conversion applies only to the operands of the binary + operator when one of the arguments is a Prompt. In this special case only, the other argument to the + is converted to a Prompt as described in Table, and a new Prompt which is the concatenation of the two prompts is the result of the +.
The prompt concatenation operator +, which, when given a Prompt operand and an integral or floating-point operand, converts the integral or floating -point operand to a Prompt representing its value in spoken form, and then produces a newly created Prompt that is the concatenation of the two prompts.
There is a prompt conversion to type Prompt from every other type, including the null type as described in Table. For the null type, the result is the empty prompt.
The
Prompt Concatenation Operator +, which, when
given a Prompt operand and a reference to a char, Currency, Date, Document,
java.io.File, java.io.InputStream, Language, Prompt, String, java.net.URL, Time
or any numeral types, converts the reference to a Prompt based on
Table, and then produces a newly created
Prompt
that is the concatenation of the two prompts.