From: yvon.thoravalNO-SPAM@... (Yvon Thoraval) Date: 2004-03-22T21:44:32+09:00 Subject: [newbie] from string to operator i've a script part like that : [...] case operand when "+" setNumber(getMemory + getNumber) when "-" setNumber(getMemory - getNumber) when "*" setNumber(getMemory * getNumber) when "/" setNumber(getMemory / getNumber) end [...] is there a way to replace all the above with something like an eval function : eval(getMemory, operand, getNumber) that's to say a way to transform the string operand to the operator ??? -- yt