THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/05/2010 at 13:47, xxxxxxxx wrote:
Cinema 4D Version: latest
Platform: Mac OSX ;
Language(s) : C.O.F.F.E.E ; XPRESSO ;
could anybody help me find information about Arrays – defining, adding to, deleting, re-ordering... basically everything there is to know about handling arrays in COFFEE...?
On 28/05/2010 at 02:10, xxxxxxxx wrote:
There is not much to arrays in COFFEE.
They are created and accessed like this:
var myarr = new(array, 20); // one-dimensional array
var myarr = new(array, 20, 10); // two-dimensional array
myarr // access the third array cell, remember array indices start with 0
There are native dynamic arrays in COFFEE, so you have to resize and reorder the arrays manually.