I don't know if you can do such a thing. What is your reasoning for this?
The only example I can think of (there can be other methods) is this one:
PHP Code:
var symbs:Array = ["+","-","*","/"];
var numb1 = 15;
var numb2 = 5;
var res = addNumbers(numb1,numb2,symbs[2]);
trace(res);
function addNumbers(one:Number,two:Number,type:String) {
switch(type) {
case "+":
return (one + two);
break;
case "-":
return (one - two);
break;
case "*":
return (one * two);
break;
case "/":
return (one / two);
break;
};
};