On Thursday 24 January 2008 20:27, Marco van de Voort wrote:
> > On 24 Jan 2008, at 19:45, Marco van de Voort wrote:
> > >> constants.
> > >
> > > A constant is already in a scope, the unit.
> >
> > So are constants local to a function. Being able to restrict the
> > scope to a certain function or
This question was posted to fpc-other, yesterday, but seems wrongful,
in subject appropriation sense to that maillist.
===
I wish to introduce some additional (and general) functional to an
existing (and foreign) freepascal's unit. I wouldn't to introduce any
my own code to that foreign mo
Marco van de Voort:
Class constants add the ability to provide scoped, "namespaced"
constants.
A constant is already in a scope, the unit.
The unit scope is a very open scope. Via class constants, one gets private,
protected and public scoping for constants, all of which are essential scope
> Marco van de Voort wrote:
>>> Marco van de Voort wrote:
> Does FPC support class constants, and if it doesn't, are there any plans
> to add this support?
Have a look at
http://www.freepascal.org/faq.var#extensionselect
The question would be "what would make this possib
Marco van de Voort wrote:
Marco van de Voort wrote:
Does FPC support class constants, and if it doesn't, are there any plans
to add this support?
Have a look at
http://www.freepascal.org/faq.var#extensionselect
The question would be "what would make this possible?"
What about class vars?
S
On Jan 24, 2008 9:26 PM, Anthony W.Henry <[EMAIL PROTECTED]> wrote:
>Suggestion: Perhaps this is worthy of a News item
> on the FreePascal Web Page.
Better wait until it's ready.
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist - fpc-pascal
On Thu, 2008-01-24 at 15:11 -0500, Anthony W.Henry wrote:
> I don't mean to step on Jeff Duntemann's toes but it
> looks like he is going to release that book.
>
> Read his blog entry for Jan 24th.
>
> http://www.duntemann.com/Diary.htm
>
>
> Anthony
Suggestion: Perhaps this is worthy of a
I don't mean to step on Jeff Duntemann's toes but it
looks like he is going to release that book.
Read his blog entry for Jan 24th.
http://www.duntemann.com/Diary.htm
Anthony
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://list
On 24 Jan 2008, at 20:27, Marco van de Voort wrote:
On 24 Jan 2008, at 19:45, Marco van de Voort wrote:
A constant is already in a scope, the unit.
So are constants local to a function. Being able to restrict the
scope to a certain function or group of functions is nevertheless
useful.
T
> On 24 Jan 2008, at 19:45, Marco van de Voort wrote:
> >> constants.
> >
> > A constant is already in a scope, the unit.
>
> So are constants local to a function. Being able to restrict the
> scope to a certain function or group of functions is nevertheless
> useful.
To be honest, if we woul
On 24 Jan 2008, at 19:45, Marco van de Voort wrote:
Henry Vermaak wrote:
I'm not sure what you mean - do you mean would I be willing to
write the
support myself?
i think he's asking what the use of it is. number 2 under the
link he
gave.
Oh, ok. Well, I'll try to summarize:
Class co
> Henry Vermaak wrote:
> >> I'm not sure what you mean - do you mean would I be willing to write the
> >> support myself?
> >
> > i think he's asking what the use of it is. number 2 under the link he
> > gave.
>
> Oh, ok. Well, I'll try to summarize:
>
> Class constants add the ability to provi
Henry Vermaak wrote:
I'm not sure what you mean - do you mean would I be willing to write the
support myself?
i think he's asking what the use of it is. number 2 under the link he
gave.
Oh, ok. Well, I'll try to summarize:
Class constants add the ability to provide scoped, "namespaced" con
On 24/01/2008, Jonathan Benedicto <[EMAIL PROTECTED]> wrote:
>
> I'm not sure what you mean - do you mean would I be willing to write the
> support myself?
i think he's asking what the use of it is. number 2 under the link he gave.
henry
___
fpc-pascal
Marco van de Voort wrote:
Does FPC support class constants, and if it doesn't, are there any plans
to add this support?
Have a look at
http://www.freepascal.org/faq.var#extensionselect
The question would be "what would make this possible?"
Hi Marco,
I'm not sure what you mean - do you mean
> Marco van de Voort wrote:
> >> Does FPC support class constants, and if it doesn't, are there any plans
> >> to add this support?
> >
> > Have a look at
> > http://www.freepascal.org/faq.var#extensionselect
> >
> > The question would be "what would make this possible?"
>
> What about class v
Marco van de Voort wrote:
Does FPC support class constants, and if it doesn't, are there any plans
to add this support?
Have a look at
http://www.freepascal.org/faq.var#extensionselect
The question would be "what would make this possible?"
What about class vars?
___
Leonardo M. Ramé wrote:
With your response I assume he meant something like "static attributes" when he said
"class
constants".
Yup. A class variable is another matter, which afaik cannot be reached
with one class per unit approach.
--- Joao Morais <[EMAIL PROTECTED]> wrote:
A class fu
With your response I assume he meant something like "static attributes" when he
said "class
constants".
--- Joao Morais <[EMAIL PROTECTED]> wrote:
> A class function would be a better approach.
>
>
Leonardo M. Ramé wrote:
Jonathan,
I never needed such type of feature, a propossed solution is to create one unit
per class, and
declare your constants in the implementation section of each unit.
A class function would be a better approach.
Example:
unit People
interface
type
TPeople
>
> Does FPC support class constants, and if it doesn't, are there any plans
> to add this support?
Have a look at
http://www.freepascal.org/faq.var#extensionselect
The question would be "what would make this possible?"
___
fpc-pascal maillist - fp
Hi Bee, perhaps you could try using {$MODE Delphi} instead of {$MODE OBJFPC}
since you seem to want Delphi compatibility.
cheers,
Paul
On 23/01/2008, Bee <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I got problem with the code below.
>
> --->8--- begin code --->8---
>
> program test_intf_query;
>
>
On Jan 23, 2008 5:01 PM, Joost van der Sluis <[EMAIL PROTECTED]> wrote:
> Op woensdag 23-01-2008 om 12:35 uur [tijdzone +], schreef Chris
> Kirkpatrick:
>
> > I have been given commit access to the /docs/xml/lcl/ directory in the
> > lazarus SVN tree. At present the SQLDb and fcl-db documentati
23 matches
Mail list logo