Qbasicnews.com

Full Version: Bug in error-checking
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If I reference a non-existent extension to a variable, the program compiles but crashes out with an odd error which reads "Error 1455: the paging file is too small for this operation to complete". This should illustrate what I mean.

I define a variable with a custom type...

Code:
type my_type
       a as integer
       b as double
       c as string
end type
dim my_variable as my_type

So far so good. But if I reference an extension not defined...

Code:
print my_variable.d

The compiler doesn't pick it up. Instead the program compiles ok but crashes out with a Microsoft Silly Error Message™
Fixed, next release will come with the patch, thanks.

Code:
[fixed] undefined UDT elements when accessed w/o OPTION EXPLICIT were being declarated as new variables (v1c)