Hi,
Sorry if it's a stupid question:
I use a static field :
class Debug {
static val level : int = <some_value>;
....
};
Here the static field value is known at compile time (needs recompilation
each time the value changes)
Is it possible to specify it at run time ? The value may be different at
each run, but remains constant during one run.
I prefer to use a (global) static value so I don't have to propagate
explicitely an object everywhere.
Thanks for any advice
Marc
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users