Difference between revisions of "Talk:DEBUG CHANNEL"

From Second Life Wiki
Jump to navigation Jump to search
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Hex to Decimal ==
== Hex to Decimal ==
Is 0x7FFFFFFF == 2147483647 or -1? The reason I ask is that in [[llListFindList]] the HoverText on the value -1 shows "negative one, 0x7FFFFFFF". [[User:Cron Stardust|Cron Stardust]] 22:41, 3 March 2007 (PST)
Is 0x7FFFFFFF == 2147483647 or -1? The reason I ask is that in [[llListFindList]] the HoverText on the value -1 shows "negative one, 0x7FFFFFFF". [[User:Cron Stardust|Cron Stardust]] 22:41, 3 March 2007 (PST)
:Good catch, sorry for the mistake, anything that uses [[Template:LSL Hex]] is correct, that template calculates it's own values when given only a single value (It gets a bit flaky on 64bit integers though). It should say "negative one, 0xFFFFFFFF" (so I corrected it). For grins I've converted it over to use one of the LSL_Hex sub templates. [[User:Strife Onizuka|Strife Onizuka]] 13:39, 4 March 2007 (PST)

Latest revision as of 14:39, 4 March 2007

Hex to Decimal

Is 0x7FFFFFFF == 2147483647 or -1? The reason I ask is that in llListFindList the HoverText on the value -1 shows "negative one, 0x7FFFFFFF". Cron Stardust 22:41, 3 March 2007 (PST)

Good catch, sorry for the mistake, anything that uses Template:LSL Hex is correct, that template calculates it's own values when given only a single value (It gets a bit flaky on 64bit integers though). It should say "negative one, 0xFFFFFFFF" (so I corrected it). For grins I've converted it over to use one of the LSL_Hex sub templates. Strife Onizuka 13:39, 4 March 2007 (PST)