pascalscript/Samples/Import/t8.rops
carlokok afe3fdfd77 re-checkin
git-svn-id: http://code.remobjects.com/svn/pascalscript@1 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2006-05-30 14:23:25 +00:00

17 lines
748 B
Plaintext

Program test;
var
r: TObject;
begin
if r = nil then Writeln('(r = nil) = true') else Writeln('(r = nil) = false');
if r <> nil then Writeln('(r <> nil) = true') else Writeln('(r <> nil) = false');
r := TObject.Create;
if r = nil then Writeln('(r = nil) = true') else Writeln('(r = nil) = false');
if r <> nil then Writeln('(r <> nil) = true') else Writeln('(r <> nil) = false');
r.Free;
if r = nil then Writeln('(r = nil) = true') else Writeln('(r = nil) = false');
if r <> nil then Writeln('(r <> nil) = true') else Writeln('(r <> nil) = false');
r := nil;
if r = nil then Writeln('(r = nil) = true') else Writeln('(r = nil) = false');
if r <> nil then Writeln('(r <> nil) = true') else Writeln('(r <> nil) = false');
end.