pascalscript/Samples/Kylix/vartype.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

14 lines
273 B
Plaintext

Program IFSTest;
var
e: variant;
Begin
e := null;
case VarType(e) of
varempty :writeln('unassigned');
varNull: Writeln('null');
varstring: Writeln('String');
varInteger : writeln('VarInteger');
varSingle: Writeln('Single');
varDouble: Writeln('Double');
end;
End.