PA_UpdateProcessVariable


version 2003


PA_UpdateProcessVariable (pNum)

Parameter Type Description
pNum long Process number to update

Description

The routine PA_UpdateProcessVariable tells the (4D created) process number pNum to perform an outside call execution cycle of the form method for the form that is currently displayed.

If -1 is passed fNum , calling this entry point provokes the on screen update of all interprocess variables displayed in all open Forms (for use, not design) for all executing processes.

PA_UpdateProcessVariable

is equivalent to the 4D command CALL PROCESS . For more information, refer to the 4th Dimension Language Reference manual.

If interprocess communication is required between several external processes the 4D extension should use a method based on private data or based upon the entry point PA_PostEvent .

Example

Force 4D to update all interprocess variables in every currently displayed form.

   PA_UpdateInterprocessVariables(-1);

See Also

CALL PROCESS .

Error Handling

Use PA_GetLastError to see if an error occurred