문제

could anyone tell me if Visual Basic uses dynamic scoping or lexical scoping? Think it's static scoping but not sure! Thanks!

도움이 되었습니까?

해결책

Vb6 uses static scoping. It resolves scope in the following order:

  • Local symbols
  • Module symbols
  • Global symbols
  • Type library references
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top