Page 1 of 1

Array in Macro

Posted: Mon Jan 18, 2016 8:03 pm
by moguay
For some reason, in macro you need to declare the size first.
This make some problem if you need a dynamical array. get out the handkerchiefs programmers.

so for now I would advise to use instead of simple variable manipulation by argument to get to get the same thing.

given that the scope of use remains limited, that is enough to fill the majority of cases.

I let you see the doc on arg[] and token[] in the manual for those who begins.
wear out your attention to the difference between both. because one answer the same function as a table, the other not.
you can easily make multiple dimension tables.

I especially like working in FIFO, and the various handling that we can do.
For now. I let you browse some code that know very well handle that. And surely we should make adjustments for each of the requirements.

So to answer clearly, I forbid myself to change the code macroquest hard in order to facilitate macros.
Isboxer who have not paid him as a gift can surely afford you more flexibility and rapidity, for example through a plugin for programming in LUA, Phyton.