Print: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
{{LSL DefineRow|type|value|{{#var:p_value_desc}}}} | {{LSL DefineRow|type|value|{{#var:p_value_desc}}}} | ||
{{!}}} | {{!}}} | ||
}}{{#vardefine:examples| | }}{{#vardefine:examples|<pre> | ||
string bell = "%07"; | |||
default | |||
{ | |||
state_entry() | |||
{ | |||
bell = llUnescapeURL(bell); | |||
} | |||
touch_start(integer a) | |||
{ | |||
print(bell); | |||
} | |||
} | |||
</pre> | |||
}}{{#vardefine:notes|This feature of LSL should probably never be used by anyone other then LL. | }}{{#vardefine:notes|This feature of LSL should probably never be used by anyone other then LL. | ||
}}{{#vardefine:caveats| | }}{{#vardefine:caveats| | ||
Revision as of 10:18, 29 March 2007
| 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);
Returns a variable of the same type as the input parameter
| • type | value | – | value or variable to be printed to stdout |
Examples
string bell = "%07";
default
{
state_entry()
{
bell = llUnescapeURL(bell);
}
touch_start(integer a)
{
print(bell);
}
}
Notes
This feature of LSL should probably never be used by anyone other then LL.