I_PROMPT

Set a variable prompt

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
xcall I_PROMPT(window_id, field_spec, prompt)

window_id

The ID of the input window in which you want the prompt to be displayed. (n)

field_spec

The specification for the field the prompt is associated with. (a)

prompt

The prompt to display. (a)

I_PROMPT sets the prompt for a field.

For more information on setting prompts, see PROMPT, NOPROMPT .

In the following, a number is specified for the PROMPT qualifier for .FIELD, so the field fld1 has no prompt, but space for 20 characters has been allocated for a prompt.

.input inp, 5, 40
.field fld1, a10, prompt(20)
.end

The following call assigns a prompt to fld1:

xcall i_prompt(id, "fld1", "This is field one")