Open loopier opened 1 year ago
What about "y=0", or is that already used?
On Thu, Aug 31, 2023, 10:59 Roger Pibernat @.***> wrote:
How about using this syntax for default arguments:
/def /cmdname x y?0 /whatever $x $y
— Reply to this email directly, view it on GitHub https://github.com/loopier/animatron/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACKXIW5A52FUI4P6HL3WRLXYCRE5ANCNFSM6AAAAAA4GG5NCQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
It's not used, no, and makes sense.
Do we want to use named arguments? Or that's making our lives difficult?
What would be the syntax in that case, y:1
?
I'm shooting crazy ideas, but I'd rather keep things simple for now (although it might be too late for that).
How about using this syntax for default arguments: