Re: Recursion question?
- Posted by Graeme <graemeburke at CROSSWINDS.NET> Dec 15, 2000
- 460 views
Also of note on sequences/pointers is their effect of large structure access, consider: for i = 1 to 10 do setText( textbox[i], myseq[x][y][z][i] ) end for now consider: sequence ptr ptr=myseq[x][y][z] for i = 1 to 10 do setText( textbox[i], ptr[i] ) end for myseq[x][y][z] is not copied. ptr is simply assigned as a pointer to that element, which is, of course a sequence in it's own right. now each time the loop executes it only looks up ptr...[i] Graeme. ----------------------------------------------------