Home / Troubleshooting & Faults

RATC2 controlSet bug with strings?

CommunityMartin AI Resolved
Started by tucan · 14y ago · 11 views · 2 replies
14y ago

Hi all,
I am using Nware 1.6.3 and seem to have come across a bug RATC2.
When I controlGet a string with something in it I get:-
valueIs "config.1" my test string 0.000
I can set this string to a value using:-
controlSet "config.1" "my new text"
However when I try and set it to nothing :-
controlSet "config.1" ""
the response is:-
badArgumentCount
Does anybody know if there is a solution or workaround to this?

14y ago

Interesting.  Yes, this is a confirmed bug and we have no workaround other than using a 'space' in the quotes.  This will be fixed in the next release.

14y ago

That is good news thanks.
It would be good if at the same time it were possible to look at a mechanism/syntax to set a string control to a value such as "true""false""true" using RATC.
At the moment if I send the following:-
contrlSet "config.1" ""true""false""true""
I get the string set to the value:-
[D[[C"true""false""true""
..and the response:-
valueIs "config.1" [D[[C"true""false""true"" 0.000
.....which is obviously not correct.

Log in to reply to this topic.