while loop can stop/continue on Boolean or Error, why not also on default value.
Personally, that would be a bridge too far for me... it's just too much implied magic and easy to read over, in my opinion. So as a LabVIEW user, I would not advocate for this change. But I will leave the idea open to see what other users have to say.
That's bordering on code obfuscation.
Add in dynamic dispatch methods into the chain producing the data and the default is actually not even known at compile time.
Related to this, I am an advocate for adding a method to a LV class that is language-defined to be "call this to do conversion to bool", and that would allow that specific class to be wired to the While Loop terminal. But that would be a well-defined thing on a specific type that is intended for the purpose, not a general language shift.
That certainly sounds itneresting AQ.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.