ClassType nil |
Pas2JS pascal source code
var c : TClass; Begin if c=nil then WriteLn('nil default'); c := TObject.ClassType; if c<>nil then WriteLn(c.ClassName); c:=nil; if c<>nil then WriteLn('bug 3') else WriteLn('set nil'); { <<< CONSOLE OUTPUTS >>> nil default TObject set nil }