Difference between revisions of "LSL-Editor/Bugs"

From Second Life Wiki
Jump to navigation Jump to search
m (create this blog of differences found between the LSL-Editor world and the Second Life)
 
(add the Cast of Cast Syntax issue)
Line 2: Line 2:


Different results seen with a test case are bugs in the implementations or in the specifications. The differences are bugs in the implementations if the specifications say what the implementation should do in the test case, differences are bugs in the specifications if the the specifications don't mention the test case, differences are broken by design if the specification lets the implementation behave indeterminately.
Different results seen with a test case are bugs in the implementations or in the specifications. The differences are bugs in the implementations if the specifications say what the implementation should do in the test case, differences are bugs in the specifications if the the specifications don't mention the test case, differences are broken by design if the specification lets the implementation behave indeterminately.
== Cast of Cast Syntax ==
Q1. Are the results I got not the results that everyone gets in world?? Do LSLEditor 2.15 and Second Life 2007-09-12 disagree?
A1a. I checked it in-world and yes, i got same results like you.
A1b. I checked again with LSLEditor and they really disagree on these results. And it's not the only difference.
This term ie. worked correctly in LSLEditor:<br/>
<code>float number; <br/>
string char = (string)(integer)float;</code> <br/>
which didnt compile in-world and needed be changed to<br/>
<code>float number;<br/>
string char = (string)((integer)float);</code><br/>
which in LSLEditor worked correctly, too.
-- first posted as chat by [[User:Ppaatt_Lynagh|Ppaatt Lynagh]] and [[User:Huney_Jewell|Huney Jewell]] at [[User_talk:Ppaatt_Lynagh]] in September 2007

Revision as of 05:28, 14 September 2007

Here we blog differences found between the Second Life implementation of the Linden Scripting Language (LSL) and the LSL-Editor implementation.

Different results seen with a test case are bugs in the implementations or in the specifications. The differences are bugs in the implementations if the specifications say what the implementation should do in the test case, differences are bugs in the specifications if the the specifications don't mention the test case, differences are broken by design if the specification lets the implementation behave indeterminately.

Cast of Cast Syntax

Q1. Are the results I got not the results that everyone gets in world?? Do LSLEditor 2.15 and Second Life 2007-09-12 disagree?

A1a. I checked it in-world and yes, i got same results like you.

A1b. I checked again with LSLEditor and they really disagree on these results. And it's not the only difference.

This term ie. worked correctly in LSLEditor:
float number;
string char = (string)(integer)float;

which didnt compile in-world and needed be changed to
float number;
string char = (string)((integer)float);

which in LSLEditor worked correctly, too.

-- first posted as chat by Ppaatt Lynagh and Huney Jewell at User_talk:Ppaatt_Lynagh in September 2007