File menu
The File menu contains commands and actions that relate to program and text files.   To select the file menu, click File on the main menu bar, or press Alt+f on your keyboard.  A menu with the following commands will appear:

New  .fn [ filename ] begin new file
TextLoad  .ft [ filename ] load text file
Load  .fl [ filename ] load program file
Save fs [ filename ]  save text/program file
Mode  .fm [ t | p ] toggle text/program mode
Rename  .fr [ filename ] rename file begin edited
Quit  .fq quit development session

You can execute any of these commands by clicking on its name in the pull-down menu, or by typing the first letter of its name on your keyboard.  Or, you can execute them directly by entering dot commands from the preceding table.

File New clears the main text area and abandons the text or program.   The contents of the text area are not saved by this command, so be sure you save the file first if you may need it later.

File New asks what kind of new file to create.  You can choose:

  text  - conventional text file
  program  - native program with PROLOG plus any number of functions
  GuiProgram  - GuiDesigner program with core GUI program created for you

The Programming Language guide & reference manuals contain more information about required and optional elements of all programs.  The GuiDesigner guide and reference manuals contain more information on GuiDesigner programs.

File TextLoad creates a window to ask for the name of the text file you want to load.  After you enter the name, the file is loaded and displayed the file in the main text area.  The file must contain ASCII text, but need not be a program.   Extended characters (128-255) may be retained and/or displayed in an unpredictable way, or not at all.

The file should not contain null characters (bytes = 0x00), as the file beyond the first null may not be displayed, and may even be lost.

In text mode, the general-purpose editor appropriate for notes, letters, reports, documentation, and text of just about any other kind.