:PRINT

Use the :PRINT script statement to write a text to the Requests view or to the activation report. Texts are either displayed as lines in the activation report of the object, or as lines in the request shown to the user. The context in which you use the :PRINT statement determines the result:

Syntax

:P[RINT] Text1 [,Text2]

Parameters

Notes:

For activation reports, specify your text as follows to display the texts in separate lines:

For the Requests view, the text is displayed as follows:

Examples

The following example writes a phrase containing the current date in the activation report:

:SET &DATE# = SYS_DATE(DD.MM.YY)  
:
PRINT "The daily evaluation of &DATE# is activated."

The following example displays an instruction (Enter here) above the input field in the request:

:BEGINREAD
:
PRINT "", "Enter here:"
:
READ &ANR#,,"Account number"
:
ENDREAD

See also: