Enum support

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Enum support

stef569
I would like to set an Enum to the interpreter ie:
bsh.set("myEnum", MyEnum)

Where
public enum MyEnum {
 enum1
 enum2
}

This results in a syntax error because it is not an object.
Loading...