roxen.lists.pike.general

Subject Author Date
'Martin Bähr' <mbaehr[at]email[dot]archlab[dot]tuwien[dot]ac> 10-10-2009
 =?utf-8?B?5aSNOg==?= Bug when using program as key of mapping
On Sat, Oct 10, 2009 at 03:24:20PM +0800, éƒ­é›ªæ¾ wrote:
> I want C2 to be a constant inside A.

but why?
you aparently do not want C2 to depend on the context that A provides.

if it is a simple access issue you could probably do:

class C2_ { ... } 
class A 
{
  constant C2 = C2_;
}

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
searching contract jobs:  programming, training and administration - anywhere
--
pike programmer      working in china                   community.gotpike.org
foresight developer  foresightlinux.org                        open-steam.org
unix sysadmin        iaeste.(tuwien.ac|or).at                     caudium.org
Martin Bähr          http://www.iaeste.or.at/~mbaehr/            is.schon.org