I would argue that it's a mistake to use the position of an element within an 
array to mean anything other than, well, the position of that element within 
the array. Array elements should be contiguous.

To answer your actual question though, the only way I know to deal with this is 
to use an exception handler when referencing array elements.

Well the array elements where to be contiguous, sort of.  Just the data was not 
necessarily created in order.  But yeah, after writing out the original e-mail 
it made me realize a structure was more sensible, and took very little effort 
to use as such.

In conclusion, sometimes one has to ask the question in order to realize one is 
asking the wrong question.

But it's good to know there might be a way to do this, just incase one really 
had to do this for some reason.

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236982
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to