O editor de Basic
The Basic Editor provides the standard editing functions you are familiar with when working in a text document. It supports the functions of the Edit menu (Cut, Delete, Paste), the ability to select text with the Shift key, as well as cursor positioning functions (for example, moving from word to word with CommandCtrl and the arrow keys).
Long lines can be split into several parts by inserting a space and an underline character _ as the last two characters of a line. This connects the line with the following line to one logical line. (If "Option Compatible" is used in the same Basic module, the line continuation feature is also valid for comment lines.)
If you press the Run BASIC icon on the Macro bar, program execution starts at the first line of the Basic editor. The program executes the first Sub or Function and then program execution stops. The "Sub Main" does not take precedence on program execution.
Insert your Basic code between the Sub Main and End Sub lines that you see when you first open the IDE. Alternatively, delete all lines and then enter your own Basic code.
Navegar nun proxecto
Lista de bibliotecas
Seleccione unha biblioteca da lista Biblioteca da esquerda da barra de ferramentas para cargar a biblioteca no editor. Móstrase o primeiro módulo da biblioteca seleccionada.
Catálogo de obxectos
Gardar e cargar código fonte de Basic
Pode gardar o código de Basic nun ficheiro de texto para gardar ou importar noutros sistemas de programación.
Non é posíbel gardar caixas de diálogo de Basic nun ficheiro de texto.
Gardar código fonte nun ficheiro de texto
-
Seleccione o módulo que desexa exportar como texto do catálogo de obxectos.
-
Prema na icona Gardar código como na barra de ferramentas Macro.
-
Seleccione un nome de ficheiro e prema Aceptar para gardar o ficheiro.
Cargar código fonte dun ficheiro de texto
-
Seleccione o módulo a onde desexa importar o código fonte do catálogo de obxectos.
-
Coloque o cursor no lugar en que desexa inserir o código do programa.
-
Click the Insert Source Text icon in the Macro toolbar.
-
Seleccione o ficheiro de texto que conteña o código fonte e prema Aceptar.