Return
From Second Life Wiki
Second Life Wiki > Return (Redirected from LSL return)
| Languages: |
English • Deutsch • Español • ελληνικά • Français • עברית • Italiano • 日本語 • 한국어 • Nederlands • Magyar • Norsk • Dansk • Svenska • Türkçe • Polski • Português • Русский • украї́нська • 中文(简体) • 中文(繁體) |
| Volunteer translated pages are linked in blue, Google translated pages are linked in grey. Learn how to provide volunteer translations. | |
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Tutorials |
- The correct title of this article is return. The initial letter is shown capitalized due to technical restrictions.
return value;
Used to return execution to the previous scope along with a value. Functions
Events
| |||||
return;Used to prematurely return execution to the previous scope before reaching the end of the function/event. You do not need to use this at the end of an event or function, as it is assumed by the compiler. Functions
Events
| |||||
Examplesinteger Goodbye() { llOwnerSay("Goodbye"); return 0; } Hello() { llOwnerSay("Hello"); return; } | |||||

