Hi Bruce,
The code is from the magnifier script, and now it crashed PP, with the
error message:
Bad expression: expecting value or variable at
Looks like the variable _close_ is evaluated and combined into the
command of the event at parsing time, so the whole length exceeds the
limit 530 and causes the crash.
local _close_ = ;;+
?'++dll.call("ReleaseDC|ui ui",'++hWnd++","++hDC_TT++")"++;;+
?'++dll.call("ReleaseDC|ui ui",'++0++","++hDC_SC++")"++;;+
?'++dll.call("DeleteDC|ui",'++hDC_MM++")"++;;+
?'++dll.call("DeleteObject|ui",'++hBM++")"++;;+
?'++dll.call("DestroyWindow|ui",'++hWnd++")"
event.createms(20,0,;;+
... ;; very long in length
?'++do(if(mouseleft&&shift,?`event.destroythis()'++ _close_ ++?'`))')
Sean
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/power-pro/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> 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/