GlobalScope
Basic source code and dialogs are organized in a library system.
-
The LibraryContainer contains libraries
-
लाइब्रेरीज़ में मॉड्यूल तथा संवाद हो सकते हैं
बेसिक में:
-
The LibraryContainer is called BasicLibraries.
संवादों में:
-
The LibraryContainer is called DialogLibraries.
Both LibraryContainers exist in an application level and within every document. In the document Basic, the document's LibraryContainers are called automatically. If you want to call the global LibraryContainers from within a document, you must use the keyword GlobalScope.
Syntax:
GlobalScope
उदाहरण:
बेसिक दस्तावेज़ में उदाहरण
' calling Dialog1 in the document library Standard
oDlgDesc = DialogLibraries.Standard.Dialog1
' calling Dialog2 in the application library Library1
oDlgDesc = GlobalScope.DialogLibraries.Library1.Dialog2