Hi all,
I noticed that if I assign a System.String to NIL,
the code will crash with an error in RTS.dll. I'm
wondering if this is a GPCP bug, of I am misunderstanding
what I can do with a System.String?
Example code:
MODULE Hello;
IMPORT System := "[mscorlib]System", CPmain;
VAR
str: System.String;
BEGIN
str := NIL;
System.Console.WriteLine( str );
END Hello.
Debugger error message at "str := NIL":
An unhandled exception of type 'System.NullReferenceException'
occurred in RTS.dll
Thanks!
Marc