VB6 Scope Issues
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
1) What is the difference in scope of:
Public X As String
Global X As String
2) What is the difference in scope of:
Private Sub S()
Sub S()
In (2): Nothing, I believe. The absence of a scope qualifier on a Sub or
Function implies Private, right?
Many thanks.
.
Relevant Pages
- Re: weird bug
... package Foo; ... immediately surrounding scope. ... Either you parse the eval string ... (comp.lang.perl.misc) - Re: Signed, Unsigned syntax issues. Please help, Im stumped
... or more possible definitions in this scope. ... (string value) ... The errors seem to be implying that I haven't specified these signals ... unsigned (15 downto ... (comp.lang.vhdl) - Re: static variable; behaviour in ruby?
... On Wed, 16 Nov 2005, Robert Klemme wrote: ... >> but have the state disappear when the method goes out of scope. ... But I need to know when to create them for the string I'm ... In ruby you can have several flip-flop expressions in the same ... (comp.lang.ruby) - Re: When to release, when not to release
... released - generally by sending it either a release or autorelease ... message - or assigned to another variable with greater scope. ... The only thing that happens to 'string' afetr initialisation is that it gets ... (comp.sys.mac.programmer.help) - Re: MOSS 2007 Search Query Web Service problem
... I'm just using the Microsoft Office Sharepoint Server 2007. ... But, when I select a scope to search, the same error occurs. ... Exception message: Exception from HRESULT: 0x80040E07. ... queryMethod, String queryXml, String& domain, String& queryId, Int32& ... (microsoft.public.sharepoint.portalserver.development) |
|