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 / mixing types and arrays

Author
Message
Static
20
Years of Service
User Offline
Joined: 4th Apr 2004
Location: United Kingdom
Posted: 1st May 2004 19:43
Hi
Why won't Dark Basic pro let me mix types and arrays like the following:

What other ways are there I hope I don't have to write
Block1 as Block ect.
50 times.

Thanks for any help
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 1st May 2004 20:06
Why are you doing all that?

This is all you need:



Then you can access the type values like 'block(i).x=1'

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk
Static
20
Years of Service
User Offline
Joined: 4th Apr 2004
Location: United Kingdom
Posted: 1st May 2004 20:14
Ah ok
thanks alot IanM

Login to post a reply

Server time is: 2024-11-26 14:46:01
Your offset time is: 2024-11-26 14:46:01