質問

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