When using
Code: Select all
function func(...)
However, as i was thinking about it, this n actually creates more problems than it solves.
Unless I am missing something here, there is no need for n as it can simply be done with
Code: Select all
TableItems(arg)
For example as i was about to use
Code: Select all
foreach(arg, mysubfunction(key, value))
Code: Select all
if gettype(key) = #TABLE
endif
Not to mention if I was sending a table of numbers that i want to go through each, favorably with "foreach" then to find out to skip n, i would need to compare the key if it is "n" or not. It also makes me worry if you are planning to add even more features to this spot, in which case code i make now, might be necessary to redo in future since they might not be able to handle the new arg.x.
Hence I am suggesting of removing arg.n from future hollywood versions unless it has some purpose that I am missing about it.