(thanks rommmcek)
Code: Select all
;tested on AHK 1.1.31.00 Unicode x32 on WIN_7 64bit
count:=0
gui, font, s18
gui, add, text,w500 h200, Press Q = crash with gosub`nPress A = no crash with goto
gui, show
return
repeat_with_gosub:
q::
tooltip, % ++count
gosub, repeat_with_gosub
return
repeat_with_goto:
a::
tooltip, % ++count
goto, repeat_with_goto
return
guiclose:
esc::
exitapp
return