Code: Select all
k(){
for k in [1]
(1)
}
global k := 1
k
msgbox k ; blank
Code: Select all
global k := 1
k(){
for k in [1]
(1)
}
k
msgbox k ; 1
Code: Select all
k(){
global
for k in [1]
(1)
}
k := 1
k
msgbox k ; 1
Cheers.
Code: Select all
k(){
for k in [1]
(1)
}
global k := 1
k
msgbox k ; blank
Code: Select all
global k := 1
k(){
for k in [1]
(1)
}
k
msgbox k ; 1
Code: Select all
k(){
global
for k in [1]
(1)
}
k := 1
k
msgbox k ; 1
Code: Select all
fun(){
for var in [1] {
}
}
global var := 1
fun()
msgbox(var) ; blank
Code: Select all
global var := 1
fun(){
for var in [1] {
}
}
fun()
msgbox(var) ; 1
Code: Select all
fun(){
global
for var in [1] {
}
}
var := 1
fun()
msgbox(var) ; 1
yes, that is better.id rewrite it tbh:
Users browsing this forum: No registered users and 34 guests