ll.SubStringIndex and ll.ListFindList return 4294967295 instead of -1
complete
SuzannaLinn Resident
ll.OwnerSay(tostring( ll.SubStringIndex( "hello", "bye" ) ))
-- > 4294967295
ll.OwnerSay(tostring( ll.ListFindList({ "Apple", "Banana", "Cherry"}, {"Orange"} ) ))
-- > 4294967295
It seems that instead of a 32-bit integer with all bits at 1 (value -1) is returning a 64-bit number with the lower 32 bits at 1 (value 4294967295).
Log In
Signal Linden
complete
Fixed in the latest release. Thanks for the write up and example code.
Signal Linden
in progress
WolfGang Senizen
Just to add, this works correctly in LSL/Luau and returns
-1
so either
- not a general luau bug
- has only been accounted for in the lsl setup for luau
- we have no means of properly checking it in lsl/luau?