plus a – Talk
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "<br/>" to "<br>") |
||
Line 1: | Line 1: | ||
Another example for arrays:<br | Another example for arrays:<br> | ||
a=[1,2,3];<br | a=[1,2,3];<br> | ||
b=a;<br | b=a;<br> | ||
a=[4,5,6];<br | a=[4,5,6];<br> | ||
// this means b is now [4,5,6] as well!<br | // this means b is now [4,5,6] as well!<br> | ||
<br | <br> | ||
// or ...<br | // or ...<br> | ||
a=[1,2,3];<br | a=[1,2,3];<br> | ||
b=+a;<br | b=+a;<br> | ||
a=[4,5,6];<br | a=[4,5,6];<br> | ||
// this means b is still [1,2,3]<br | // this means b is still [1,2,3]<br> | ||
--[[User:Doolittle|Doolittle]] 18:40, 8 July 2007 (CEST) | --[[User:Doolittle|Doolittle]] 18:40, 8 July 2007 (CEST) |
Latest revision as of 13:32, 14 March 2020
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)