This is an anatomy of a tiny SmartMS application. See all classes inherit from a root type called TObject. |
Smart pascal source code
unit Unit1; interface uses SmartCL.System; type TApplication = class procedure RunApp; end; implementation { TApplication } procedure TApplication.RunApp; begin WriteLn('starting app'); end; end.