On Oct 25, 2006, at 3:51 PM, Chris Griffin wrote:

I have a class that has string constants defined. In an RBScript class I have the following source:

print kErrorMessage3

I get an error 11 when I run it. I created a new instance of the class that has the kErrorMessage3 constant and assigned it to the context of the RBScript. What am I doing wrong?

The context object system only works with methods and properties. Constants only exist at compile time, not at run time, so there's nothing there for RbScript to see.

Mars Saxman
REAL Software

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to