Original Author Paul Laughton, 2011
Page 29
De Re BASIC!
A dialog box displays the path to the directory where you will save the file and an input area where you
can enter the file name. If the current program has a name because it was previously loaded or saved
then that name will be in the text input area. Type in the name you want the file saved as and tap OK.
The extension .bas will be added to file name if is not already there.
If you do not enter a file name, BASIC! uses a default filename, default.bas.
BASIC! remembers the path to the directory you were in when you last loaded or saved a program.
When you Save, the file name you type is saved in the remembered directory. If the name you type
includes subdirectories, BASIC! remembers the new path. The name you type can include "../". Be
careful if you are using a soft keyboard, as it may automatically insert spaces that you don't want.
You cannot save programs in the sample program directory source/Sample_Programs. If you load a
program from source/Sample_Programs, change it, and Save it, the program is saved in source.
You can exit Save without saving a file by tapping the BACK key.
Clear
Clear the current program in the Editor. You will be offered the opportunity to save the current program
if it has been changed.
Search
Search for strings in the program being edited. Found strings may be replaced with a different string.
The Search view shows a Text Window with the text from the Editor, a Search For field and a Replace
With
field.
If there is a block of text currently selected in the Editor, then that text will be placed into the Search For
field.
The initial location of the search cursor will be at the start of the text regardless of where the cursor was
in the Editor text.
Note: The search ignores case. For example, searching for "basic" will find "BASIC" This is because BASIC!
converts the whole program to lower case (except characters within quotes) when the program is run.
N
EXT
B
UTTON
Start the search for the string in the Search For field. The search is started at the current cursor location.
If the string is found then it will be selected in Text Window.
If the Done button is tapped at this point then the Editor will returned to with the found text selected.
If the Replace button is tapped then the selected text will be replaced.
Pressing the Next button again will start a new search starting at the end of the selected or replaced
text.