<?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=LlList2Rot</id>
	<title>LlList2Rot - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlList2Rot"/>
	<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlList2Rot&amp;action=history"/>
	<updated>2026-06-01T03:38:50Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://i.bnu.edu.cn/wiki/index.php?title=LlList2Rot&amp;diff=744&amp;oldid=prev</id>
		<title>Ty：创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: rotation llList2Rot( list src, integer index ); |参数=…”</title>
		<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlList2Rot&amp;diff=744&amp;oldid=prev"/>
		<updated>2020-08-22T02:07:52Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: rotation llList2Rot( 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: rotation llList2Rot( 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;
*当用于从字符串中进行类型转换时，将导致0 _ 旋转&lt;br /&gt;
*一个真正的类型转换可以解决这个问题: (rotation) lllist2string (src，index) ;&lt;br /&gt;
*不幸的是，如果它已经是一个旋转类型，使用 lllist2string 将导致小数值被截断为小数点后六位。&lt;br /&gt;
|示例=&lt;br /&gt;
示例一&lt;br /&gt;
&amp;lt;pre&amp;gt;&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;, 1, 2.0, &amp;lt;1,2,3&amp;gt;, &amp;lt;1,2,3,4&amp;gt;, llGetOwner()];&lt;br /&gt;
        integer i = ~llGetListLength(my_list);&lt;br /&gt;
        while (++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)&lt;br /&gt;
                        + &amp;quot;\n   float=&amp;quot; + (string)llList2Float(my_list,i)&lt;br /&gt;
                        + &amp;quot;\n   vector=&amp;quot; + (string)llList2Vector(my_list,i)&lt;br /&gt;
                        + &amp;quot;\n   rot=&amp;quot; + (string)llList2Rot(my_list,i)&lt;br /&gt;
                        + &amp;quot;\n   key=&amp;quot; + (string)llList2Key(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;
[[llGetListEntryType]]&lt;br /&gt;
[[llList2String]]&lt;br /&gt;
|相关事件=&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Ty</name></author>
		
	</entry>
</feed>