pass by reference

Typeglossary
DictionaryLCS
LibraryLiveCode Script
Synonymspass by reference,passed by reference,passing by reference,passes by reference,pass-by-reference,call by reference,called by reference,calling by reference,calls by reference,call-by-reference
RelatedKeyword: @
Glossary: handler, parameter, variable, local variable, call
Description

A way of using parameters where you pass a local variable to the called handler, and changing the parameter within the called handler also changes the variable in the calling handler.

You specify that a parameter is to be passed by reference by preceding its name with the @ character in the called handler's first line.

Tagsproperties