just made the big jump from 3.8.06 to 3.8.14 and ran into a problem.
bruce's script below now produces one or more "bad expression" errors,
complaining about (select("0123456789ABCDEF", arg(1)+1,arg(1)+1).
if i ok through the errors, it forges ahead and produces the correct
result.
is there really something wrong with the expression in 3.8.14 syntax?
(haven't been paying much attention recently ...) or does 3.8.14 put
up the error message in error?
thanks, ed
=======================================================================
;; recursive routine to convert decimal to hex;
;; bruce posted to group on 20 aug 2003;
;; usage eg: win.debug(.convert16(254))
if (arg(1)<16)
quit(select("0123456789ABCDEF", arg(1)+1,arg(1)+1)
local mod16 = arg(1)%16 + 1
quit (.convert16(arg(1)/16) ++ select("0123456789ABCDEF",mod16,mod16))
=======================================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/