You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Handler definitions are used to define functions which can be called from LiveCode Builder code, invoked as a result of events triggering in a widget module, or called from LiveCode Script if public and inside a library module.
223
223
224
-
There is no distinction between handlers which return a value and ones which do not, apart from the return type. Handlers can be called either in expression context, or in statement context. If a handler which returns no value (its return type is *undefined*) is called in expression context then its value is *undefined*.
224
+
There is no distinction between handlers which return a value and ones which do not, apart from the return type. Handlers can be called either in expression context, or in statement context. If a handler which returns no value (it is specified as *returns nothing*) is called in expression context then its value is *undefined*.
225
225
226
226
ParameterList
227
227
: { Parameter , ',' }
@@ -237,7 +237,7 @@ An out parameter means that no value is copied from the caller (the parameter va
237
237
238
238
> **Note:** It is a checked runtime error to return from a handler without ensuring all non-optional 'out' parameters have been assigned a value.
239
239
240
-
An inout parameter means that the value from the caller is coped to the parameter variable in the callee handler on entry, and copied back out again on exit.
240
+
An inout parameter means that the value from the caller is copied to the parameter variable in the callee handler on entry, and copied back out again on exit.
241
241
242
242
The type of parameter is optional, if no type is specified it is taken to be *optional any* meaning it can be of any type.
243
243
@@ -246,7 +246,7 @@ The type of parameter is optional, if no type is specified it is taken to be *op
0 commit comments