mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 10:18:22 +02:00
18 lines
230 B
ObjectPascal
18 lines
230 B
ObjectPascal
{ %fail }
|
|
{$Mode Delphi}
|
|
{$R-,X+,V-}
|
|
uses crt, uw3969;
|
|
|
|
var
|
|
myobj: testobj;
|
|
|
|
begin
|
|
clrscr;
|
|
myobj.init;
|
|
writeln(myobj.getvar);
|
|
myobj.setvar('antonio');
|
|
myobj.myvar := 'pippo';
|
|
writeln(myobj.myvar);
|
|
myobj.done;
|
|
end.
|