Code: Select all
someClassMethod() {
ControlGetPos, x, y,,, SomeControl
local someVar := 5
}
Code: Select all
someClassMethod() {
ControlGetPos, x, y,,, SomeControl
local someVar := 5
}
source:Assume-global modeAssume-global mode: If a function needs to access or create a large number of global variables, it can be defined to assume that all its variables are global (except its parameters) by making its first line either the word "global" or the declaration of a local variable.
Code: Select all
[/c] forum tag to share your code.
Click on [b]✔[/b] ([b][i]Accept this answer[/i][/b]) on top-right part of the post if it has answered your question / solved your problem.
Users browsing this forum: zerox and 145 guests