I am attempting to pass a paramter using a enum variable.


Code Sample:

public:

enum something{THING1, THING2, THING3}


Passing

the_status = the_object.method(parameter1, parameter2, THING1, parameter3)


I have tried the CLASS::enum member way of reference, to no success.


The problem is trying to pass a variable(the enum member) without hardcoding the

enum member name.


If any one has a hint.


Thanks


Don Head