M
Michael Fällgreen
I like using the "Using Statement" when dealing with objects - you know its
disposed and thereby not in scope further down in the method. But how do you
"make scope" within a method for an int
This is not possible
' i is unknown
Using i as integer
......
end using
' i is unkopwn
you can do
' i is unknown
if true
dim i as integer
.....
end if
' i is unknown
but thats stupid.
How can you make "scope" in a method - it would be nice if this was possible
Scope
....
...
End Scope
Am I missing something?
Thanks
disposed and thereby not in scope further down in the method. But how do you
"make scope" within a method for an int
This is not possible
' i is unknown
Using i as integer
......
end using
' i is unkopwn
you can do
' i is unknown
if true
dim i as integer
.....
end if
' i is unknown
but thats stupid.
How can you make "scope" in a method - it would be nice if this was possible
Scope
....
...
End Scope
Am I missing something?
Thanks