View Single Post
Old 12-16-2011, 11:39 AM   #11
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,889
Default

What you asked for...
Code:
array1 = 3;
array2 = (array1 + 6); // array2 = 3 + 6 == 9
array3 = (array2 + 4); // array3 = 9 + 4 == 13
All you did there was declare some variables and assign some values. If you want to access the memory buffer, you've got to use the square braces. It's not clear what you were expecting.
IXix is offline   Reply With Quote