plus a – Talk

From Bohemia Interactive Community
Revision as of 14:32, 14 March 2020 by Lou Montana (talk | contribs) (Text replacement - "<br/>" to "<br>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Another example for arrays:
a=[1,2,3];
b=a;
a=[4,5,6];
// this means b is now [4,5,6] as well!

// or ...
a=[1,2,3];
b=+a;
a=[4,5,6];
// this means b is still [1,2,3]
--Doolittle 18:40, 8 July 2007 (CEST)