Previous Next

CALL-TYPE attribute
The type of call, which must be the dynamic version of one of the following:
*
*
*
*
*
*
Data type:
Access:
Applies to:
You can use a keyword constant or an integer. Table 67 lists the keyword constants and integer values you can use.
 
The default is PROCEDURE-CALL-TYPE.
To get the value of an attribute or to invoke a method, set CALL-TYPE to GET-ATTR-CALL-TYPE.
In this example, the SESSION:NUMERIC-FORMAT attribute is assigned, indicated by the CALL-TYPE value of SET-ATTR-CALL-TYPE:
 
/* Set SESSION:NUMERIC-FORMAT to "european" */
 
ASSIGN
  hCall:IN-HANDLE      = "session"
  hCall:CALL-TYPE      = SET-ATTR-CALL-TYPE
  hCall:CALL-NAME      = "numeric-format"
  hCall:NUM-PARAMETERS = 1.
 
hCall:SET-PARAMETER(1, "CHARACTER", "INPUT", "european").
hCall:INVOKE.
Note:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.