Pool variables can be queried in the context of information retrieval by using the method Process_GetInfo (infoType POOLVARS).
The SYSTEMPOOL and MODUSUSER pools are returned.
Only variables of the SYSTEMPOOL pool can be set.
Pool variables of these pools are set with the Process_Start method .
If only pool variables are to be set and no other action taken, the SET_PARAMETERS command must be used.
Example XML
<pools> <pool name="SYSTEMPOOL"/> <poolvar name="MyVariable" type="S">MyVariableValue</poolvar> </pool> </pools> ...
Element | Description |
---|---|
pools |
Collection node for all pools |
pool |
Collection node for all pool variables of a specific pool. The attribute name contains the name of the pool. |
poolvar |
Description of a pool variable with the attributes: name: Name of the pool variable type: B: Boolean (TRUE or FALSE) L: Longinteger (Number) S: Widestring (any string) F: Float (floating-point number, decimal separator according to regional settings) data: Content of the pool variable |
If the attribute is not defined, the Widestring type is assumed.
If a type is defined, the content specified in the data area must match the data type.