Call Event Statement

Triggers an event.

Syntax

Call Event event_name [ argument_list ]

Parts

event_name
Necessary identifier
argument_list
Zero or more expressions, each separated by a comma, all optionally enclosed in rounded brackets.

Instructions

Examples

Event MyEvent(a As Int, b As Int)
Var e As MyEvent = MyEventHandler
Call Event e(1, 2)
' ...
Sub MyEventHandler Handles MyEvent
End Sub

See also