What I'm thinking of is something like:

Operator_ArrayIndex( index as integer ) As myobject
Operator_ArrayIndex(index as integer, rhs As myObject )

So we could write 

Dim arr as MyArrayClass()
Dim bar as myobject

arr.append new myobject
arr.append new myobject
arr.append new myobject
..

For each bar in arr
 bar.foo()
next



>> I guess some of this might be achievable with new operator overload
>> methods.
>> 
>> Note that C#  already has some features like this - ie to make a class
>> behave as an array to the outside world.
>> 
>> 
>> Any opinions chaps  ( and chapesses )
> 
> Already exists and has for a long time
> 
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> 
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>
> 

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to