Still working on the legacy application and seeing this
Module Module1
Public x as long
Sub mymethod1(Byref x as long)
x = x + 1
End Sub
Sub mymethod2()
mymethod1(x)
end sub
End Module```
Way cool.
This is an archive of the posts published to LessThanDot from 2008 to 2018, over a decade of useful content. While we're no longer adding new content, we still receive a lot of visitors and wanted to make sure the content didn't disappear forever.
Still working on the legacy application and seeing this
Module Module1
Public x as long
Sub mymethod1(Byref x as long)
x = x + 1
End Sub
Sub mymethod2()
mymethod1(x)
end sub
End Module```
Way cool.