Scrigroup - Documente si articole

Username / Parola inexistente      

Home Documente Upload Resurse Alte limbi doc  


AccessAdobe photoshopAlgoritmiAutocadBaze de dateCC sharp
CalculatoareCorel drawDot netExcelFox proFrontpageHardware
HtmlInternetJavaLinuxMatlabMs dosPascal
PhpPower pointRetele calculatoareSqlTutorialsWebdesignWindows
WordXml


Working with Triggers: Trigger Init, RunTrigger

c

+ Font mai mare | - Font mai mic





DOCUMENTE SIMILARE

Trimite pe Messenger
Continue
PROGRAMARE IN C
Verifica daca toate elem listei sunt pare
Operatii cu liste liniare simple
STRUCTURI DE DATE SI TIPURI DE DATE ABSTRACTE
Controlling the Supports: ArtSupportCall, ArtSupportChangeState
Operatori aritmetici
Working with Triggers: Trigger Init, RunTrigger
Modifica informatia nodului cu info=para din lista
INSTRUCTIUNEA DE ATRIBUIRE. OPERATORI ARITMETICI: scanf, printf

TERMENI importanti pentru acest document

Working with Triggers

Trigger Init

The trigger named [Init] is the basic trigger activated when a mission is launched and it is usually used to launch other triggers and initialize global variables




Example:

[Init]

Set @@num = 0

RunTrigger ( 'xxx” )

Halt

RunTrigger

Launches the specified trigger asynchronously. This means that both the calling trigger and the called trigger continue to work independently of each other. The called trigger may return its results repeatedly to the calling trigger through the call parameters.

Syntax:

RunTrigger ( “TriggerName

“Trigger Name” – name of the trigger to be launched asynchronously.

Example:

[Init]

Set @@num = 0

RunTrigger ( 'Trigger” )

// Launches the trigger named Trigger

Halt

[Trigger]

Set @@num = 0

Halt

CallTrigger

Launches the specified synchronous trigger and the calling trigger waits until the called trigger ends. The called trigger may return its results to the calling trigger through the call parameters.

Syntax:

CallTrigger ( “TriggerName

“Trigger Name” – name of the trigger to be launched in a synchronous manner

CallTriggerInstance

Launches the specified synchronous trigger with the unique name “TriggerName#InstanceName” and with its local variables. In this case the trigger TriggerName must be present in the trigger.ini file. The called trigger waits until the called one ends. The called trigger may return its results to the calling trigger through the call parameters.

Syntax:



CallTrigger ( “TriggerName, <InstanceName>

“Trigger Name” – name of the template trigger to be launched in a synchronous manner

<InstanceName> – named indicator of the trigger

RunTriggerInstance

Generates the trigger with the unique name “TriggerName#InstanceName” and with its local variables and launches it asynchronously. In this case the trigger TriggerName must be present in the trigger.ini file. The called trigger may return its results repeatedly to the calling trigger through the call parameters.

Syntax:

RunTriggerInstance ( <TriggerName> , <InstanceName>

<TriggerName> – name of the template trigger to be launched in an asynchronous manner

<InstanceName> – named indicator of the trigger

DestroyTrigger

Destroys the specified trigger

Syntax:

DestroyTrigger ( “TriggerName

“TriggerName – name of the trigger to be destroyed

Example:

[Init]

Set @@num = 0

RunTrigger ( 'Trigger” )

// the trigger named Trigger will be stopped and destroyed

Halt

DestroyTriggerInstance

Destroys the trigger with the unique name “TriggerName#InstanceName” and with its local variables

Syntax:

DestroyTriggerInstance ( <TriggerName> , <InstanceName>






Politica de confidentialitate



DISTRIBUIE DOCUMENTUL

Comentarii


Vizualizari: 640
Importanta: rank

Comenteaza documentul:

Te rugam sa te autentifici sau sa iti faci cont pentru a putea comenta

Creaza cont nou

Termeni si conditii de utilizare | Contact
© SCRIGROUP 2022 . All rights reserved

Distribuie URL

Adauga cod HTML in site