سؤال

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