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.

Dark GDK .NET / Declarations

Author
Message
VB and GDK
14
Years of Service
User Offline
Joined: 2nd Jun 2009
Location:
Posted: 30th Aug 2009 03:01
If i am to declare 100 boxes like this:

Dim wall(100) as darkgdk.basic3d.box

how do i control all of there properties at once
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 30th Aug 2009 05:15
Do you mean a declaration like

darkgdk.basic3d.box [100] wall;

?

You'd have to iterate through a loop indexing from 0 to 99 to address each element.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office
VB and GDK
14
Years of Service
User Offline
Joined: 2nd Jun 2009
Location:
Posted: 11th Sep 2009 11:03
Thanks for that

Login to post a reply

Server time is: 2024-03-29 13:33:48
Your offset time is: 2024-03-29 13:33:48