Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Arrays within Types?

Author
Message
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 17th May 2008 16:38
Alright, so I made the following code for some stuff I am working on.



But that does not appear to work, and when I make it two types... It keeps telling that the second type has no data fields in it.

The above code makes me assume that its not possible to declare an array within a Type? If not, is there a better way of doing this?
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 17th May 2008 21:14
You cant. Go to the tutorials thread stickied on this board and find a tutorial on types. It has some workarounds to it.

Don't you just hate that Zotoaster guy?
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 17th May 2008 21:50
Thats kindoff a bummer, it works in many other BASIC languages... Oh well.

Login to post a reply

Server time is: 2024-09-27 14:23:28
Your offset time is: 2024-09-27 14:23:28