Using a listvars hotkey to view local variables
Posted: 06 Dec 2015, 13:17
Listvars seems somewhat unpredictable. In this sample script, it's rare for listvars to report the local variables, despite the program being in the function "permanently". With multiple attempts & refreshes, once in a while, it'll show the local variables, but mostly not.
Is there any way to make it reliably report local variables?
Is there any way to make it reliably report local variables?
Code: Select all
a := "Alpha"
dostuff()
return
dostuff( )
{
c := "Gamma"
loop
sleep, 55
}
F1::
listvars
pause
return
+Pause::
exitapp
return
Pause::
Pause, Toggle, 1
Return