Changes between Version 1 and Version 2 of Raise
- Timestamp:
- 05/02/10 14:52:50 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Raise
v1 v2 6 6 the event they will be invoked after the event has been raised. 7 7 8 The number and types of args given in the raise statement must match those declared [[BR]] 9 in the sig used as the Type for the event being raised. 10 8 11 See also [wiki:Listen] and [wiki:Ignore]. 9 12 10 13 == Grammar == 11 14 {{{ 12 raise <event> [ [,<source>] ,< event-args>]15 raise <event> [ [,<source>] ,<arg> [,<arg> ...]] 13 16 }}} 14 17 15 If the <source> is not specified but <event-args> is, then '''this''' 16 will be implicitly passed as the source. 18 In an attempt to default the most common case, if the number of arg parameters is one less than the number in the sig [[BR]] 19 and the first arg is not '''this''' [[BR]] 20 then '''this''' will be implicitly passed as the source (first arg). 17 21 18 22 If an event has been declared with a no param signature