Módulo
Contido
Índice 🔎︎

# GlobalScope

O código fonte de Basic e as caixas de diálogo organízanse nun sistema de bibliotecas.

- O LibraryContainer contén bibliotecas.

- As bibliotecas poden conter módulos e caixas de diálogo.

## En Basic:

- The LibraryContainer is called BasicLibraries.

## Nas caixas de diálogo:

- 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.

## Sintaxe:

    GlobalScope

## Exemplo:

Exemplo no documento Basic

        ' chamando a Dialog1 na biblioteca de documentos Standard
        oDlgDesc = DialogLibraries.Standard.Dialog1
        ' chamando a Dialog2 na biblioteca de aplicativos Library1
        oDlgDesc = GlobalScope.DialogLibraries.Library1.Dialog2