New syntax : parentheses
Posted: 13 Feb 2008 13:57
Hey, what's up?
<pita>
Couple of little things about that :
- Most people may find it odd that a space must be put after the command's name, as it's usually not required: function(param);
- I would recommend to use "parantheses" instead of "brackets", only because the later term refers to many things: ( ), [ ], { }, < >
</pita>
<pita>
Code: Select all
+ Scripting: Now you may enclose a function's arguments in brackets.
This is purely optional and without an function other than making
your scripting code more readable if you are used to bracketing
arguments.
For example, these work identical:
::copytext "sep=;"; text <clipboard>, 600, 400, Clipboard;
::copytext ("sep=;"); text (<clipboard>, 600, 400, Clipboard); - Most people may find it odd that a space must be put after the command's name, as it's usually not required: function(param);
- I would recommend to use "parantheses" instead of "brackets", only because the later term refers to many things: ( ), [ ], { }, < >
</pita>