function NumbertoRadix( n, r ) com_err_ign with createoleobj( "ScriptControl" ) .language="JScript" .addCode( "function f(x,y){ return x.toString(y)}" ) result=.CodeObject.f(n,r) endwith com_err_ret if com_err_flg result=""
fend
function RadixToNumber( str, r ) com_err_ign with createoleobj( "ScriptControl" ) .language="JScript"
result=.CodeObject.f(str,r) endwith com_err_ret if com_err_flg result="" endif fend