Getting Constant details

forum.cdk (1998-2005) & forum.td.cdk (2005-2010)
Mark Keogh

Getting Constant details

Post by Mark Keogh » 27 Aug 2002, 02:10

 Posted by:  Mark Keogh 

And I don't mean EnumSystemConstantObjects or EnumUserConstantObjects. These
only return the constants themselves and none of the comments that maybe
available.

Can I traverse these sections and get all of the detail?

W.P.Nijhof

Re: Getting Constant details

Post by W.P.Nijhof » 27 Aug 2002, 11:30

 Posted by:  W.P.Nijhof 

In article ,
extra_crap_mkeogh@bcc.com.au says...
You can use nNumberOfConstants = EnumSystemConstantObjects( aConstants
[*] ), then call aConstant[x].GetText ( ) for 0 < x < nNumberOfConstants
--
WayPay

Mark Keogh

Re: Getting Constant details

Post by Mark Keogh » 28 Aug 2002, 05:18

 Posted by:  Mark Keogh 


Problem is, these calls only get the constants and none of the comments that
may also exist within the constants section

ie

! -------------------------------------
! SECURITY Constants
! -------------------------------------
Number: E_SECURITY_RIGMAI = 1
Number: E_SECURITY_USEMAI = 2
Number: E_SECURITY_PLAANA = 3

only returns

Number: E_SECURITY_RIGMAI = 1
Number: E_SECURITY_USEMAI = 2
Number: E_SECURITY_PLAANA = 3

W.P.Nijhof

Re: Getting Constant details

Post by W.P.Nijhof » 28 Aug 2002, 11:09

 Posted by:  W.P.Nijhof 

In article ,
extra_crap_mkeogh@bcc.com.au says...
Sorry, I was thinking about inline comments. I just discovered that I
*don't* know how to do this (with CDK;-). I'll have to look into it.
--
WayPay

Return to “td.cdk”

Who is online

Users browsing this forum: No registered users and 0 guests