<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
	<id>http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlList2String</id>
	<title>LlList2String - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlList2String"/>
	<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlList2String&amp;action=history"/>
	<updated>2026-06-01T02:50:10Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://i.bnu.edu.cn/wiki/index.php?title=LlList2String&amp;diff=745&amp;oldid=prev</id>
		<title>Ty：创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: string llList2String( list src, integer index ); |参数=…”</title>
		<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlList2String&amp;diff=745&amp;oldid=prev"/>
		<updated>2020-08-22T02:10:31Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: string llList2String( list src, integer index ); |参数=…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{函数详情&lt;br /&gt;
|函数名 = Function: string llList2String( list src, integer index );&lt;br /&gt;
|参数= 参数：&lt;br /&gt;
list	src	–	List containing the element of interest.&lt;br /&gt;
integer	index	–	Index of the element of interest.&lt;br /&gt;
|返回值= 返回值：&lt;br /&gt;
返回一个位于 src 索引处的字符串。&lt;br /&gt;
|注意事项=&lt;br /&gt;
*如果索引超出界限，脚本将继续执行，不会出现错误消息。&lt;br /&gt;
*当使用此函数将列表元素类型化为字符串时，它会将基于浮点的类型截断为小数点后6位。&lt;br /&gt;
|示例=&lt;br /&gt;
示例一&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//This code demonstrates the differences in typecasting in LSL (and demonstrates how to use the llList2* functions).&lt;br /&gt;
// Best viewed in Chat History (ctrl-h)&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        list my_list = [&amp;quot;a&amp;quot;, &amp;quot;0xFF&amp;quot;, &amp;quot;0xFF.FF&amp;quot;, &amp;quot;1.0e3&amp;quot;, 1, 2.0, &amp;lt;1,2,3&amp;gt;, &amp;lt;1,2,3,4&amp;gt;, llGetOwner()];&lt;br /&gt;
        integer i = 0;&lt;br /&gt;
        integer end = llGetListLength(my_list);&lt;br /&gt;
        for (; i&amp;lt;end; ++i)&lt;br /&gt;
        {&lt;br /&gt;
            llOwnerSay(&amp;quot;string=&amp;quot; + llList2String(my_list,i)&lt;br /&gt;
                        + &amp;quot;\n   integer=&amp;quot; + (string)llList2Integer(my_list,i) + &amp;quot; OR &amp;quot; +(string)((integer)llList2String(my_list,i))&lt;br /&gt;
                        + &amp;quot;\n   float=&amp;quot; + (string)llList2Float(my_list,i) + &amp;quot; OR &amp;quot; +(string)((float)llList2String(my_list,i))&lt;br /&gt;
                        + &amp;quot;\n   vector=&amp;quot; + (string)llList2Vector(my_list,i) + &amp;quot; OR &amp;quot; +(string)((vector)llList2String(my_list,i))&lt;br /&gt;
                        + &amp;quot;\n   rot=&amp;quot; + (string)llList2Rot(my_list,i) + &amp;quot; OR &amp;quot; +(string)((rotation)llList2String(my_list,i))&lt;br /&gt;
                        + &amp;quot;\n   key=&amp;quot; + (string)llList2Key(my_list,i) + &amp;quot; OR &amp;quot; +(string)((key)llList2String(my_list,i)) );&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|相关函数=&lt;br /&gt;
[[llDumpList2String]]&lt;br /&gt;
[[llGetListEntryType]]&lt;br /&gt;
[[llList2Float]]&lt;br /&gt;
[[llList2Integer]]&lt;br /&gt;
[[llList2Key]]&lt;br /&gt;
|相关事件=&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Ty</name></author>
		
	</entry>
</feed>