Re: [fpc-pascal]Free Instance

2003-01-29 Thread Andrew J.Swan [home]
* Luis Del Aguila [LDA] [Wednesday, January 29, 2003] wrote: * subject: [fpc-pascal]Free Instance * msgid:000101c2c786$cdb45d90$1d1e30c8@mesajil [...] LDA>Writeln(b.campo2); LDA>b.free;//if free the instance . // replace b.free with: FreeAndNil (b) ;

Re: [fpc-pascal]Run Time Error codes

2003-01-29 Thread Eduardo Morras
At 17:51 29/01/2003 +0100, you wrote: At 19:56 28/01/2003 +0100, you wrote: On zaterdag, jan 25, 2003, at 02:34 Europe/Brussels, Eduardo Morras wrote: Does anyone knows what means the next error codes: 998, 313. And where find information about the applications exit code? Such strang

Re: [fpc-pascal]Run Time Error codes

2003-01-29 Thread Eduardo Morras
At 19:56 28/01/2003 +0100, you wrote: On zaterdag, jan 25, 2003, at 02:34 Europe/Brussels, Eduardo Morras wrote: Does anyone knows what means the next error codes: 998, 313. And where find information about the applications exit code? Such strange error codes are error codes that come

Re: [fpc-pascal]Free Instance

2003-01-29 Thread Marco van de Voort
> I don't Understand, I compile this code with FPC 1.06 for Windows and the > directive compiler -S2 -Rintel. > is it a bug?. > > Thanks > > > Type >TClase1 = Class > campo1:string; >End; >TClase2 = Class (TClase1) > campo2:string; >End; > > Var b:Tclase2; > Begin

[fpc-pascal]Free Instance

2003-01-29 Thread Luis Del Aguila
I don't Understand, I compile this code with FPC 1.06 for Windows and the directive compiler -S2 -Rintel. is it a bug?. Thanks Type TClase1 = Class campo1:string; End; TClase2 = Class (TClase1) campo2:string; End; Var b:Tclase2; Begin b:=TClase2.create; b.campo1:

[fpc-pascal]CGI

2003-01-29 Thread Luis Del Aguila
¿ How to make a CGI program in pascal, that read and send for e-mail the Html form content ? Look at the User's Guide, chapter 11. There's also an unCGI Unit around. HTH Tschuess Andreas Pero, La guia de usuario, capitulo 11, no explica como escribir un programa que envie el contenido de

Re: [fpc-pascal]Destroy Instance

2003-01-29 Thread Rimgaudas Laucius
> Luis Del Aguila schrieb: > > > b.destroy; //if destroy the instance . > > Writeln(b.campo2); // Why the instance exist? > > You have to call b.Free instead of b.Destroy to properly destruct the > instance. > Free automatically calls the destructor if the object referenc

Re: [fpc-pascal]Re: CGI

2003-01-29 Thread Andreas K. Foerster
On Tue, Jan 28, 2003 at 08:07:26AM -0500, Luis Del Aguila wrote: > But, The User's Guide, chapter 11, don´t to explain how write a program > that send the Form Content for e-mail. How to send eMail from a program? Well, I don't know, if there is a Unit for it. On Unix systems, there is mostly t