Operator in a variable

is it possible to store an operator such as >= in a variable, for example:
ActionScript Code:
[LEFT][COLOR=#000000]var[/COLOR] myOperator;
[COLOR=#0000FF]if[/COLOR][COLOR=#000000]([/COLOR]randomNumber == [COLOR=#000080]1[/COLOR][COLOR=#000000])[/COLOR][COLOR=#000000]{[/COLOR]
myOperator = >=;
[COLOR=#000000]}[/COLOR][COLOR=#0000FF]else[/COLOR][COLOR=#000000]{[/COLOR]
myOperator = <=;
[COLOR=#000000]}[/COLOR]
[/LEFT]

I know this sounds strange.

i dunno, but there is probably another way to achieve the same result. What is it you are trying to do?

It’s not possible because operators in ActionScript are not first-class objects. hoolagon is right about there being another way to do the same thing, though.