Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Create an array of structures


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-21-2008, 08:52 PM
Newbie
 
Join Date: Jun 2008
Posts: 5
Default Create an array of structures

Hi,

I've created an array of structures as below:

Dim Type(X, Y, Z) myType(20, 20)

But since i'll use this type for several arrays i'm trying to create the structure and then create an array of this type, for instance:

Dim Type(X, Y, Z) myType

Dim arrOfMyTipe(20, 20) as myType


But i'm receiving the error 'Index was out of range'

How could I do it?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 06-21-2008, 08:55 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,186
Default

This is currently not possible.
It will be implemented in a future version.

For now you will need to include the "Type(X,Y,Z)" in each declaration.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Legal Structures ?? adbftrainer Questions & Help Needed 9 09-09-2008 06:54 PM
How to redimension an array of structures HARRY Code Samples & Tips 3 02-20-2008 12:53 PM
How to declare array of structures of bytes HARRY Questions & Help Needed 3 02-13-2008 05:28 PM
Structures & Uppercase skipper Questions & Help Needed 4 02-06-2008 07:00 AM
Array of Array possibility? Stellaferox Basic4ppc Wishlist 0 09-18-2007 01:16 PM


All times are GMT. The time now is 02:20 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0