|
![]() |
![]() |
version 2003
PA_IsWebProcess → char
Parameter | Type | Description | ||||
This command does not require any parameters | ||||||
Function result | char | ← | 1 if current process is a Web process, otherwise 0 |
Description
The routine
PA_IsWebProcess
returns 1 if if the current process is a Web process.
Each time a navigator calls a 4D Method (regardless of how it is done),
PA_IsWebProcess
will return 1 from this method (or any method called in the chain)
Example
Act differently if in a Web process.
void MyAlert( char *message )
{
// This is a wrapper of ALERT
if ( PA_IsWebProcess() )
{
. . . // send special HTML code for the alert
}
else
PA_Alert( message );
}
See Also
No reference.
Error Handling
always returns
eER_NoErr