Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Execute ???
#12
Thanks Unatic for this suggestion. A while ago I did try something similar. It's a little bulky. 

I find my code produces less errors and quick responses if I avoid multi -multi-dimensional arrays. An array A1( 1 to 100) and A2( 151 to 300) and A3(310 to 425) is a little less confusing on the flow of the data through the code than A(1 to 100, 151 to 300, 310 to 425). In my case would have say 10  ie 

A1(..to..), A2(...to..).....>>>......A10(..to..) 

and then I run into ReDim situations as more data and routines are added to the code. Rather than ReDimming the existing arrays I have, I tried to have the program create the next array A11(..to..) to accommodate the new stuff being generated by the program but without success. By the way, I gave up on trying to have the code create a new numerical array quite a while ago, it was only recently that the suggestion  Execute would work similar to ReDim as in EXECUTE "Dim Shared" + "A11(... to ...)

To my friend who suggested EXECUTE, I told him it works more like KILL
Reply


Messages In This Thread
Execute ??? - by Dimster - 01-02-2024, 09:21 PM
RE: Execute ??? - by bplus - 01-02-2024, 10:04 PM
RE: Execute ??? - by TerryRitchie - 01-02-2024, 10:38 PM
RE: Execute ??? - by SMcNeill - 01-02-2024, 10:46 PM
RE: Execute ??? - by SMcNeill - 01-02-2024, 10:53 PM
RE: Execute ??? - by bplus - 01-03-2024, 03:31 AM
RE: Execute ??? - by Dimster - 01-03-2024, 01:05 PM
RE: Execute ??? - by bplus - 01-03-2024, 04:59 PM
RE: Execute ??? - by aurel - 01-03-2024, 06:39 PM
RE: Execute ??? - by aurel - 01-03-2024, 06:46 PM
RE: Execute ??? - by Unatic - 01-03-2024, 06:57 PM
RE: Execute ??? - by Dimster - 01-03-2024, 09:52 PM
RE: Execute ??? - by aurel - 01-04-2024, 07:36 AM



Users browsing this thread: 1 Guest(s)