Is there a Delphi Data Class that works like a Python List?

How to create strategies and indicators
Message
Author
lhx
Posts: 5
Joined: Sun May 15, 2011 3:54 pm
Location: Texas

Is there a Delphi Data Class that works like a Python List?

#1 Postby lhx » Wed May 18, 2011 12:06 am

I've got my code working with a simple counter, but, the counter is getting up into the 1000's and starts chugging.

It looks like a Delphi Array is similar to what I want; it just needs to hold an integer or a 'word' sized number in each spot. But, what I can't figure out is how to append and delete from the Array without writing some god awful complicated sub routine.

Any ideas?

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#2 Postby FT Support » Wed May 18, 2011 2:18 pm

You can use dynamic arrays, something like this:
http://www.drbob42.com/delphi4/dynarray.htm
Check our other product here:
http://www.forexcopier.com


Return to “FT API”

Who is online

Users browsing this forum: No registered users and 26 guests