Go Back   Cockos Incorporated Forums > REAPER Forums > Dstruct's Casa De Nitpicks

Reply
 
Thread Tools Display Modes
Old 02-12-2021, 08:35 AM   #1
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default ISSUE: Lua table numerical key values in IDE aren't in right order

Hi,


This code, using lua table and numerical keys;



Code:
t = {}
t[0.096] = 0
t[0.160] = 0
t[0.192] = 0
t[0.320] = 0

isn't shown in right (ascendant) order in the IDE.





Could this be sorted ?


It will help debugging a lot. I had to debug long series of data and got very confused by this.


Thx !!

v6.23 Windows x64
X-Raym is offline   Reply With Quote
Old 02-12-2021, 08:42 AM   #2
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

Isn't it a bug?
vitalker is online now   Reply With Quote
Old 02-12-2021, 08:45 AM   #3
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@vitalker
I think bug is when it crashes, when something isn't usable anymore.
It is still usable, but just not "right". Need update


THough I found a related bug:


https://forum.cockos.com/showthread....87#post2405187
X-Raym is offline   Reply With Quote
Old 02-12-2021, 04:01 PM   #4
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,451
Default

Something is certainly wrong! Try this:
Code:
t = {}
t["0.096"] = 0
t["0.160"] = 0
t["0.192"] = 0
t["0.320"] = 0



This is a bug
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:27 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.