Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot convert expression type to symbol
#4
COMMON SHARED was also used back in the QJurassic Era when you needed to pass variables to modules in multi-modular programs. Using multi-modular programming allowed for more than the 64K single module limit. I think I used to pull about 220K with that method. Note because memory was and still is allocated for different processes unevenly, it was darn near impossible to write a program that would end up being 256K.

Anyway, back to the point. Yes, whenever possible a line number should be reported by the IDE. Steve, when he is feeling better, or Matt may want to have a look at adding line number recognition.

Also, even with DIM SHARED, we have to define the elements in the array...

DIM SHARED test(100) AS STRING * 256

or ...
DIM SHARED test(0) AS STRING * 256

...and

REDIM test(100) ' Sometime later.

Unfortunately, arrays were not able to be made into types.

Pete
Reply


Messages In This Thread
RE: Cannot convert expression type to symbol - by Pete - 09-25-2022, 09:33 AM



Users browsing this thread: 1 Guest(s)