Hmm... okay, let me change the question...Posted by Rhy on May 29, 2003 at 12:56:16: In Reply to: An array of objects posted by Rhy on May 29, 2003 at 09:27:39: Seems that my experience with other OO languages doesn't extend to Delphi... I don't think the problem is with the array so much as creating an instance of the object itself. Whenever I declare any variable to be of type Tinstruction, no matter what I do, all variables of that type contain the reference to only one instance. In short, I seem to have an object with a whole bunch of different named variables pointing to it, and don't know how to make more than one instance! Any suggestions? -J
[ DelphiLand: free Delphi source code, tips, tutorials ] |
|