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_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   how to refer to dynamically generated objects
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: how to refer to dynamically generated objects  (Read 468 times)
5cameron

WWW
how to refer to dynamically generated objects
« on: Apr 1st, 2005, 3:29am »

Hi all,
 
I'm making a program in P5 that creates a new "popup" object when someone clicks on something. How do I create the array to refer to the popup objects when how many are on the screen at any one time is variable?
 
I was wondering if maybe there was a way to "push" a new object onto an array, like you can do in Actionscript. IE: add a 6th element to an array thats already defined as having 5 elements.
 
A million points to the person who helps ease the headache this is giving me. THANKS
 
C
 
cello

marcello3d WWW
Re: how to refer to dynamically generated objects
« Reply #1 on: Apr 1st, 2005, 4:32am »

java.util.Vector, perhaps.
 
Marcello
 
st33d

WWW Email
Re: how to refer to dynamically generated objects
« Reply #2 on: Apr 1st, 2005, 11:57am »

http://processing.org/reference/technotes/index.html
 
http://processing.org/discourse/yabb/board_Syntax_action_displa_y_num_1049409014.html
 

I could murder a pint.
Pages: 1 

« Previous topic | Next topic »