Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. LynneJackson

    Dynamic Arrays

    The Arrays have to be dynamic because they can hold anything from a small grid of 5 by 5 upto the limit that would feasibly run with each element representing an automaton state within a spatial array. Each cell having a function, which is defined by the user and then parsed and compiled at...
  2. LynneJackson

    Dynamic Arrays

    Im not sure if i posted the code that i have been using however I did try the code that was posted and found that it worked for a single dimensional array. However changing the code to two dimensions gives the results that i have already experienced. As the array represents a grid of cellular...
  3. LynneJackson

    Dynamic Arrays

    Ive run the code with a one dimensional array and it works howevery as the array represents a grid of cellular automaton it needs to be two dimensional. So I tried changing your code and the two arrays seem to point to the same memory location as updating one effects the other here is the...
  4. LynneJackson

    Dynamic Arrays

    this is the code for the procedure i had to amend it to copy the elements of the array individually however as there could be thousands of elements this is quite a combersome way of doing the job. procedure TSimulationEngine.SimpleIteration; var TempFrom:TCellSpaceArray...
  5. LynneJackson

    Dynamic Arrays

    Im currently using delphi 5 and need a true copy of a dynamic array, Ive tried both versions of copy but this results in the copy pointing to the original. I need to store a tempary copy that does not get updated when manipulating the original.

Part and Inventory Search

Back
Top