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

2009-09-24 Thread David Emerson
Maybe you'll have an easier time with either Synapse or Lnet. I don't know if either of them have the functionality you need, but I had a pretty easy time getting them both working on linux. http://lnet.wordpress.com/ http://sourceforge.net/projects/synalist/ On Thu 24 Sep 2009, yu ping wrote:

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

2009-09-24 Thread yu ping
I just now download indy-10.2.0.3.tar.gz - for Unix/Linux system users. and build success on windows. the file indy-10.2.0.3.zip - for Windows users. damaged ,can not be decompressed. when I try to build indy10 files from http://indy.fulgan.com/ZIP/ I get a lot of mistaks: -- make ---

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

2009-09-24 Thread luca_manganelli
fpc-pascal-boun...@lists.freepascal.org scritti il 25/09/2009 05.34.53 > Thanks. > another question,any one has successful compile indy on FPC? > I tried,but did not success. Indy 10? It's FPC compatible. Indy 9 not. ___ fpc-pascal maillist - fpc-pa

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

2009-09-24 Thread yu ping
Thanks. another question,any one has successful compile indy on FPC? I tried,but did not success. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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

2009-09-24 Thread Jeff Wormsley
yu ping wrote: Program prog1 use unit1 myObj=class private public . end; --- unit unit1 .. like above, can i access myObj in unit1? Much better to have something like this: Program prog1; uses CommonStuff, unit1; ..

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

2009-09-24 Thread Michael Van Canneyt
On Thu, 24 Sep 2009, yu ping wrote: Program prog1 use unit1 myObj=class private public . end; --- unit unit1 .. like above, can i access myObj in unit1? No. A unit only has access to symbols that appear in units in it's uses clause. The program can