GMWolf
aka fel666
again, I don't know if this is where suggestions go these days...
so most scripts start with a assigning variables to arguments. its great and all, but not that elegant, and not very good on performance or ram.
my suggestion to to introduce a new form of syntax to define local macros for arguments:
this would essentially act as macros for argument0, argument1, etc.
I actually 'hacked' in some simmilar functionality into GMS1.x and it was increadibly helpful. (it would look at the triple slash /// comment to determine the variable names, and replace all occurences with argument0..15).
I would love to see such functionality in GMS2, and seeing as how you already have global macros, why not local macros dedicated for arguments?
thanks for considering,
felix
so most scripts start with a assigning variables to arguments. its great and all, but not that elegant, and not very good on performance or ram.
my suggestion to to introduce a new form of syntax to define local macros for arguments:
Code:
#scriptargs varname1, varname2, varname3, ...
I actually 'hacked' in some simmilar functionality into GMS1.x and it was increadibly helpful. (it would look at the triple slash /// comment to determine the variable names, and replace all occurences with argument0..15).
I would love to see such functionality in GMS2, and seeing as how you already have global macros, why not local macros dedicated for arguments?
thanks for considering,
felix