Is there anyone who can explain to me
what is a param l nc
..and why is not error
PluriBASIC generates this macro containing,
v, "variable" address, This can also be a pointer to the UDT member space,
thats why it cannot be simply
v = "". The new contents come in
c, it can also exceed the length of the targed space,
so, it must be trimmed. The
l is the length of the target zstring, required to trim the new contents.
nc is just a "macrotemp".
Macros are like another compiler inside the compiler. If you dont learn how to use them, you are missing. You will have to hard-code
stuff or write much more code. Macros generate dynamic code at compilation time.
For example, in my code i use macros to generate array classes for all data types. Using just a few macros, the code for all data-types are
generated. If it wasnt for macros i would have to write like 20 times more code and mantain every class separately. With macros, editing
one macro, the changes expands to all the generated classes.