Re: [fpc-pascal] array of ?

2011-02-09 Thread Jonas Maebe
On 09 Feb 2011, at 22:54, Mattias Gaertner wrote: > What is the meaning of: > > __pad1: array[1..4-sizeof(mode_t)]; > > ? > > See unit ipc.pp line 114. It's a syntax error. That code is probably currently not compiled for any FPC-supported target, and hence not detected. I was too quick

[fpc-pascal] array of ?

2011-02-09 Thread Mattias Gaertner
What is the meaning of: __pad1: array[1..4-sizeof(mode_t)]; ? See unit ipc.pp line 114. Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Name of the programming language used in/with FPC

2011-02-09 Thread Ingemar Ragnemalm
Mark Morgan Lloyd wrote: Marco van de Voort wrote: In our previous episode, Ben said: What is the programming language used in and with the Free Pascal Compiler? * Object Pascal * Delphi * Free Pascal * Pascal Pretty much all apply. Free Pascal has a mode concept with 5/6 mo

Re: [fpc-pascal] wkhtmltopdf - trying use h2pas...

2011-02-09 Thread Marcos Douglas
On Sat, Feb 5, 2011 at 6:13 AM, Michael Van Canneyt wrote: > > > On Fri, 4 Feb 2011, Marcos Douglas wrote: > >> Hi, >> I'm trying to use h2pas in wkhtmltopdf's headers... but I'm found many >> erros. >> Could you help me to translate the headers to use in Pascal? >> >> Command: h2pas libwkhtmltox-

Re: [fpc-pascal] Classes and class methods

2011-02-09 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 09 Feb 2011, at 13:41, Mark Morgan Lloyd wrote: I'm doing something wrong- it works. I've got a sequence of classes, each with a Parent class procedure and Children() class function which reference a global array associated with each class (hardcoded name). Each class a

Re: [fpc-pascal] Classes and class methods

2011-02-09 Thread Jonas Maebe
On 09 Feb 2011, at 13:41, Mark Morgan Lloyd wrote: I'm doing something wrong- it works. I've got a sequence of classes, each with a Parent class procedure and Children() class function which reference a global array associated with each class (hardcoded name). Each class also has an Oid(

Re: [fpc-pascal] Classes and class methods

2011-02-09 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: Is it possible to put a class (not an instance) in a variable or array element, and to use this to call a class method? I'm defining a hierarchy of classes and it would be convenient if it wer

Re: [fpc-pascal] Classes and class methods

2011-02-09 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: Is it possible to put a class (not an instance) in a variable or array element, and to use this to call a class method? I'm defining a hierarchy of classes and it would be convenient if it were possible to register the

Re: [fpc-pascal] Classes and class methods

2011-02-09 Thread Marco van de Voort
In our previous episode, Mark Morgan Lloyd said: > Is it possible to put a class (not an instance) in a variable or array > element, and to use this to call a class method? > > I'm defining a hierarchy of classes and it would be convenient if it > were possible to register the fact that a class

[fpc-pascal] Classes and class methods

2011-02-09 Thread Mark Morgan Lloyd
Is it possible to put a class (not an instance) in a variable or array element, and to use this to call a class method? I'm defining a hierarchy of classes and it would be convenient if it were possible to register the fact that a class had a particular subclass, such that the information was