Pergunta

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

Foi útil?

Solução

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

  • Local symbols
  • Module symbols
  • Global symbols
  • Type library references
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top