[fpc-pascal] class constants

Cox, Stuart TRAN:EX Stuart.Cox at gov.bc.ca
Thu Jan 24 00:01:09 CET 2008


Have a look at http://delphi.about.com/library/weekly/aa031505a.htm as a
(not too bad) way to do it in Delphi.  FPC too?


Stu Cox
Project Management Technician
Southern Interior Region
Ministry of Transportation
342-447 Columbia St.,
Kamloops, BC V2C 2T3
p: 250-828-4320
f: 250-828-4229
stuart.cox at gov.bc.ca

-----Original Message-----
From: fpc-pascal-bounces at lists.freepascal.org
[mailto:fpc-pascal-bounces at lists.freepascal.org] On Behalf Of Jonathan
Benedicto
Sent: Wednesday, January 23, 2008 11:26 AM
To: FPC-Pascal
Subject: [fpc-pascal] class constants

Hello,

Does FPC support class constants, and if it doesn't, are there any plans
to add this support?

Example:
type
  TMyClass = class
    begin
      private
        const MyConst = '123';

    end;

Jon 

_______________________________________________
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



More information about the fpc-pascal mailing list