How to use "global" inside IF statements ?
Posted: 03 Jun 2023, 22:05
Hi, I made a global variable, and idk how to use the "IF" statement with it without making a new local variable.
I tired this and I got error with this code
I tried this looks strange idk if it works but no error msg
but with "else if" give me err
I tired this and I got error with this code
Code: Select all
if (global aa=1)
I tried this looks strange idk if it works but no error msg
Code: Select all
global
if ( aa=1)
{
Send "^{End}"
return
}
Code: Select all
global
else if (aa=2)
{
Send ("{Right 3}{Space}")
return
}