Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools
Old 05-14-2022, 01:39 PM   #1
DrTT
Human being with feelings
 
Join Date: Jan 2019
Posts: 77
Default Unclear behaviour of ".]" in WALTER

Dear all,

I am experimenting with WALTER and I have found another small inconvenience.

When a tuple ends in ".]", this should normally mean that the existing scalar value of the target variable at that position is reused.

E.g. the code
Code:
    set tcp.mute [. . . .]
should do nothing (assuming that there are no stretch values in the definition of tcp.mute).

But it does not work; presumably the height is set to 0. As opposed to it the following works:
Code:
    set tcp.mute [. . . . ]
So the WALTER parser finds something I do not understand.

Or have I completely missed something?

Best regards,
DrTT
DrTT is offline   Reply With Quote
Old 05-14-2022, 02:12 PM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 16,223
Default

Ah yes, this is a bug. Need to evaluate how fixing will break things... for now definitely just use a space between the . and ] :/

Last edited by Justin; 05-14-2022 at 02:19 PM.
Justin is offline   Reply With Quote
Old 05-15-2022, 02:26 AM   #3
DrTT
Human being with feelings
 
Join Date: Jan 2019
Posts: 77
Default

Hello Justin,

thanks for your quick reaction! I am - of course - honored that the grandmaster is personally joining in.

While you're looking at WALTER mechanisms you might also consider my enhancement request in thread https://forum.cockos.com/showthread.php?t=266618 about scalar and tuple values.

I think that WALTER has an undeserved bad reputation for being overly complicated and any simplification would make the access for theme designers easier.

Best regards,
DrTT
DrTT is offline   Reply With Quote
Reply

Thread Tools

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 12:07 PM.


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