[OpenSCAD] "Too many unnamed arguments "
avm4 at cornell.edu
Tue May 14 18:08:44 EDT 2019
I'd say at this point I'm past the rookie stage and yet I still sometimes
screw up and pass 3 parameters instead of a vector to some modules.
I'm curious why you think silent failure is preferred to an error message.
I find that it is difficult to debug OpenSCAD code in many cases because
errors produce "undef" and the undefs propagate through the code, undef
begetting undef, possibly quite a distance before some routine finally
refuses to function and produces a diagnostic message. It sure would be
nice to know where that first failure point is rather than having to start
inserting echo() after echo() to try to track it down.
> Of course! Rookie mistake.
> In my defense, I will say that what got me confused was the change in
> behaviour from my previous rev of OpenSCAD. Previously, the only result of
> that error would have been that the translate would not have given an
> message, but would have shown up as a failure to do the translation.
> I think I prefer the old way, but that error message will not throw me
> Thanks, guys.
> Sent from: http://forum.openscad.org/
> OpenSCAD mailing list
> Discuss at .openscad
Sent from: http://forum.openscad.org/
More information about the Discuss