Simple Variables
The following syntax refers to a simple scalar-valued variable (integer, floating-point, or character string):
simplename
Syntax Notes:
• If you use the variable to send values to Ingres, the variable can be any scalar-valued variable.
• If you use the variable to receive values from Ingres, the variable can only be a scalar-valued variable.
The following example shows a message handling routine. It passes two scalar-valued variables as parameters: buffer, which is a character string, and secs, which is an integer variable.
## subroutine PrtMsg(buffer, secs)
## declare forms
## character*(*) buffer
## integer secs
## message buffer
## sleep secs
## end