Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Create an array of structures

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-21-2008, 07: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, 07:55 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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 Off
Pingbacks are Off
Refbacks are On

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


All times are GMT. The time now is 09:54 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0