Jump to content

API System.ReleaseEvent: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import API auto-gen
Admin (talk | contribs)
XML import of API auto-gen
Line 21: Line 21:
====Calling in a calculation====
====Calling in a calculation====
* Declare a variable 'result' of type BOOL
* Declare a variable 'result' of type BOOL
* Add to a calculation icon: result = ::System.ReleaseEvent(target, "msgname")
* Add to a calculation icon: <pre class="brush:[C]">result = ::System.ReleaseEvent(target, "msgname")</pre>

Revision as of 15:35, 10 May 2013

<sidebar>API contents</sidebar> Releases a previously claimed an event message by name, returns true if released


Parameters

HANDLE Target

The component that would usually recieve the event

STRING MsgName

The quoted class.name formatted name of the event to release

Return value

BOOL

Returns true if released

Detailed description

No additional information

Examples

Calling in a calculation

  • Declare a variable 'result' of type BOOL
  • Add to a calculation icon:
    result = ::System.ReleaseEvent(target, "msgname")