FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Suggestions
   Website, Reference, Example Suggestions
(Moderator: REAS)
   array reference example
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: array reference example  (Read 1565 times)
lunetta

7200475272004752 WWW Email
array reference example
« on: Apr 3rd, 2005, 6:32pm »

Hi
 
I have a humble suggestion regarding the array documentation;
 
as a beginner, I struggled with declaring an array with content -  { 1, 2, 3, 4, 5} - because it's illegal to do something like
 
Int[] myArray;
myArray = { 1,2,3,4,5 }
 
but it's legal to:
 
int[] myArray;
myArray = new int[] { 1,2,3,4,5 };
 
there could be an example with this...
 
Pages: 1 

« Previous topic | Next topic »