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

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

Basic4ppc Wishlist Missing any feature?

Structures with multiple data types

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-09-2010, 07:05 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default Structures with multiple data types

I bekieve that because structures are based on arrays all the elements of the structure have to have the same (default?) data type. With the new typing capability this is a significant restriction. (Let me know if wrong!)

So could structure arrays be based on multiple separate arrays which could have distinct types per element in the structure? The benefit over having to declare separate arrays is the usual one of having the matching lengths maintained for you, perhaps using the "Array" keyword as now, and the "syntactic sugar" of using a naming scheme, maybe like the one we already have, that makes the relationship bewteen the elements explicit.

Mike.
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
Error when using an array of types zurpa Questions (Windows Mobile) 8 02-26-2011 07:41 AM
Custom types, again skipper Questions (Windows Mobile) 6 09-19-2009 06:42 PM
usage of custom types anonim Questions (Windows Mobile) 12 09-15-2009 10:43 PM
Different Line Types ceaser Code Samples & Tips 4 08-20-2008 01:39 PM
Structures & Uppercase skipper Questions (Windows Mobile) 4 02-06-2008 06:00 AM


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


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