Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Array subset

10 views
Skip to first unread message

Tyler Craft

unread,
Jul 15, 2003, 11:41:23 AM7/15/03
to
use a datastore.


If the application I am working on calls for an array I usually use a
datastore with an external datawindow object. As a matter of fact I have one
built into my framework that has one of each datatype so I may have 4 arrays
held in one datastore at any one time. I find it much easier especially if I
have to check and see if the value is already in the list or not.

Tyler

PS AFAIK, there is no way of doing what you want using an array.
<astep...@watthour.com> wrote in message
news:4A496B74516FEA1A0056037085256D64.0056038085256D64@webforums...
> Is there any way to get a subset of an array without having to use a
loop?
> If, for instance, I have an integer array of 20 elements li_temp[20].
How
> can I get the integers from positions 3 through 10 (li_temp[3..10] --
> doesn't work)?


astep...@watthour.com

unread,
Jul 15, 2003, 12:33:04 PM7/15/03
to
Thanks for your response. I have no problem with a loop. I was just
looking for a shorter and quicker way to do it. Why doesn't PB have the
ability to access subarrays?

Thanks again.

astep...@watthour.com

unread,
Jul 15, 2003, 11:39:29 AM7/15/03
to
0 new messages