Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
arrays of pinters #10832
11/01/02 05:34
11/01/02 05:34
Joined: Oct 2002
Posts: 471
USA - Tennessee
JayG Offline OP
Senior Member
JayG  Offline OP
Senior Member

Joined: Oct 2002
Posts: 471
USA - Tennessee
I want to create an array of pointers but the following syntax does not work

entity* pShip[5];

Is there anyway to do this, I would rather loop through my set of entities that I create instead of create 5 entity*.

I saw the ent_next but then I need to filter out the entities that I do not want.

Are arrays allowed for pointers ?

Jay

Re: arrays of pinters #10833
11/01/02 06:53
11/01/02 06:53

A
Anonymous
Unregistered
Anonymous
Unregistered
A



I don't think you can use that syntax. But look up "Handle" in the Manual. I think that should do the trick for you. That is what I use.

I am at work so I can't go into much detail now.

-Jeff

Re: arrays of pinters #10834
11/01/02 11:12
11/01/02 11:12
Joined: Oct 2002
Posts: 471
USA - Tennessee
JayG Offline OP
Senior Member
JayG  Offline OP
Senior Member

Joined: Oct 2002
Posts: 471
USA - Tennessee
Jeff,

Thanks for the info.. I had forgotten about handle... That is easier than making a DLL [Smile]

Jay


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1