GETACCESS action
Related pages:
_bool := GETACCESS strExpression_Str [PUBLIC [descriptOUT_Str[, descriptIN_Str]]]
_bool | in | Identifier of Bool type. |
strExpression_Str | in | Expression of String type that defines the name. |
descriptOUT_Str | out | Expression of String type - reference to a value of String type. |
descriptIN_Str | in | Identifier of Str type - user description for the name, used after the registration is successful. |
strExpression_Str
. In case, that
such the name exists, it returns the value FALSE. If the name doesn't exist,
it performs the registration and returns TRUE value. Another (others)
instances of an arbitrary script will be unsuccessful during an attempting to
register the same name (string).
The key word PUBLIC acts, that an registered name (string) is to be published for all scripts (system script or active picture) in the application scope. This registration is provided by the process D2000 Server.
A registered string without any PUBLIC keyword is only known within the frame of the process, in which the script is interpreted (D2000 EventHandler or D2000 HI).
After the name registration is not successful, a text identifying the script that registered the name first is to be retrieved by the parameter descriptOUT_Str. The format of the text is following:computerName | name of the computer where the process that performed the registration is running |
processName | name of the object of Process type that performed the registration |
objectName | name of the object that performed the registration (object of Event type or active picture) |
description | value of the parameter descriptIN_Str of the action that registered the name |
Related pages:
Pridať komentár