Difference between revisions of "Print"
Jump to navigation
Jump to search
(add syntax note) |
m (format glitch) |
||
Line 21: | Line 21: | ||
} | } | ||
</source> | </source> | ||
}}{{#vardefine:notes|* | }}{{#vardefine:notes|* '''print''' is a reserved word, meaning it can't be used for user identifiers. | ||
* This feature of LSL should probably never be used by anyone other than LL. | * This feature of LSL should probably never be used by anyone other than LL. | ||
}}{{#vardefine:caveats| | }}{{#vardefine:caveats| |
Latest revision as of 02:45, 6 May 2017
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
- The correct title of this article is print. The initial letter is shown capitalized due to technical restrictions.
print(value);
print(value);• type | value | – | value or variable to be printed to stdout |
Examples
//Make the server beep on click
string bell = "%07";
default
{
state_entry()
{
bell = llUnescapeURL(bell);
}
touch_start(integer a)
{
print(bell);
}
}
Notes
- print is a reserved word, meaning it can't be used for user identifiers.
- This feature of LSL should probably never be used by anyone other than LL.