Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.paradox    |    To crash or not to crash, asks Borland    |    9,834 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,596 of 9,834    |
|    Robert Wiltshire to All    |
|    Re: Array of TCursor    |
|    16 Jan 09 00:00:25    |
      b20187d6       From: nomail@nospam.com              >       Marks answer works and I am using it but I can't help but feel like I       am missing a "*" or "&" or "ByRef" or "new" or something in the       language that would make my future life in this language easier.       >              Marks attach is really the key to doing it like this.       I remember long discussions on the newsgroups about       this topice a long time ago. I must be getting old.              What I think you are saying is,       since you have a variable tcTmp,       and that variable is store at a certain memory location,       you want to put/pass the address of that object into an array,       and then be able to use that memory reference/ address       and be able to use that object by passing the address of the object.              Think of a tcursor as a very complex object.       One of the complexities of the tcursor,       is that it knows to close itself when the variable goes out of scope.              Imagine what would happen if you passed the address of the tcursor       somewhere else, and then the tcursor actually closed,       either intentionally by the programmer,       or by pdox / opal / garbage collection(so to speak) when the var went out of       scope.              And then imagine.....you tried to use that address somewhere else down the       road,       or later in your code......       ..... |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca