[fpc-pascal] How to use var or object in a programm file from a unit file

yu ping spingyu at gmail.com
Thu Sep 24 15:52:39 CEST 2009


Program prog1
use unit1
myObj=class
private

public
  .....
end;
---------------------------
unit unit1
..............

like above, can i access myObj in unit1?



More information about the fpc-pascal mailing list