01-17-2005, 02:55 PM
Quote:What you mean by crash, that happens at runtime or the compiler crashes?
I couldn't reproduce the error, but you shouldn't be allowed to use DIM|REDIM and then SHARED inside procs, patch will be next release..
Crash at runtime, and I think it's good that you can dim shared, as this enables you to dim inside DLLs.
The dims should be redims, but i changed it for debug purpose.
And having the ability to redim a shared array inside a function is a good thing, imo.
Anyways, the problem is when I use:
blah as type = value
And then try to use blah in math. Compiles fine, but crash on runtime.
And this is a DLL.