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 documentation files
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;
{$IFDEF FPC}
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 -
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
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.
Be a
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 function
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?
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?
Same answer.
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:
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?
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
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
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 group of
13 matches
Mail list logo