Difference between revisions of "Print"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 4: Line 4:
}}{{#vardefine:header_title|{{#var:name}}({{LSL Param|value}});
}}{{#vardefine:header_title|{{#var:name}}({{LSL Param|value}});
}}{{#vardefine:header_text|{{{!}}
}}{{#vardefine:header_text|{{{!}}
Returns a variable of the same type as the input parameter (I think this is a bug).
{{LSL DefineRow|type|value|{{#var:p_value_desc}}}}
{{LSL DefineRow|type|value|{{#var:p_value_desc}}}}
{{!}}}
{{!}}}
}}{{#vardefine:examples|<pre>//Make the server beep on click
}}{{#vardefine:examples|<lsl>//Make the server beep on click
string bell = "%07";
string bell = "%07";


Line 21: Line 20:
     }
     }
}
}
</pre>
</lsl>
}}{{#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 11:24, 16 December 2007

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

<lsl>//Make the server beep on click string bell = "%07";

default {

   state_entry()
   {
       bell = llUnescapeURL(bell);
   }
   touch_start(integer a)
   {
       print(bell);
   }

} </lsl>

Notes

This feature of LSL should probably never be used by anyone other then LL.