[fpc-pascal]Strange error from a simple class

James Mills prologic at daisy.ods.org
Sun Jun 8 17:00:51 CEST 2003


On Mon, Jun 09, 2003 at 12:57:24AM +1000, James Mills wrote:
> On Sun, Jun 08, 2003 at 04:43:21PM +0200, Michael Van Canneyt wrote:
> > 
> > 
> > On Sun, 8 Jun 2003, James Mills wrote:
> > 
> > > Hi,
> > >
> > > I get this error from a very simple class:
> > >
> > > Runtime error 216 at 0x0805A735
> > >   0x0805A735
> > >   0x080481FF  TCONFIG__PRINT,  line 29 of configclass.pas
> > >   0x0805BE35  main,  line 29 of forum.pas
> > >   0x080480B0
> > >
> > > Any ideas ?
> > 
> > You should also show the forum.pas file.
> > The constructor Create should be in the 'public'  section of the class,
> Ahh I think that's where my error lies. (stupid me)
> 
> cheers
> James

Actually it makes no difference, so I'll attach all relevant files.

cheers
James

> 
> > not in the first (private) section.
> > 
> > Michael.
> > 
> > 
> > _______________________________________________
> > fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> > http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 
> -- 
> -
> - James Mills
> Zero Defect Software Engineers Group - ZDSEG
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

-- 
-
- James Mills
Zero Defect Software Engineers Group - ZDSEG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.pas
Type: text/x-pascal
Size: 367 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20030609/a1187952/attachment.pas>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configclass.pas
Type: text/x-pascal
Size: 419 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20030609/a1187952/attachment-0001.pas>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: forum.pas
Type: text/x-pascal
Size: 1393 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20030609/a1187952/attachment-0002.pas>


More information about the fpc-pascal mailing list