nanoBase 1997

An old, but free xBase for Dos.(1)

Web-Counter: countersince 1996/09/04.

What is it

nanoBase (2) is a Dos program that works essentially as:

nanoBase 1997 is compiled in two versions: a small one to be used with old computers (x86-16 with 640 Kibyte RAM), and a second one to be used with better computers, at least i286 (or better) with 2 Mibyte RAM.

The dot command line

Figure u164.1. The dot line.

nbdot

The dot command line is the first face of nanoBase, the one that appears starting the program normally. It recalls the dot line command of the old xBases.

Please note that nanoBase recognise only expressions (that is: no commands).

The menu

Figure u164.2. The file menu.

nbmenu

Pressing [F10] the nanoBase menu appears.

From this menu the operations are easier than writing all commands on a prompt line, but it is always possible to come back to the dot line to do an operation not available from the menu.

The macro recording, compiling and execution

Figure u164.3. The macro menu.

nbmacro

nanoBase is able to record some actions made with the menu and all what is correctly typed from the dot prompt. This may be the begin for a little program (called macro inside nanoBase) that can be executed as it is (ASCII), or compiled into another format, faster to execute.

Macros for nanoBase are made with a reduced set of the Clipper syntax. The statements recognised from nanoBase are:

PROCEDURE procedure_name
    statements...
    [RETURN]
    statements...
ENDPROCEDURE
DO PROCEDURE procedure_name
BEGIN SEQUENCE
    statements...
    [BREAK]
    statements...
END
DO CASE
CASE lCondition1
    statements...
[CASE lCondition2]
    statements...
[OTHERWISE]
    statements...
END
WHILE lCondition
    statements...
    [EXIT]
    statements...
    [LOOP]
    statements...
END
IF lCondition1
    statements...
    [ELSE]
    statements...
END

Beside these limitations, there are many added functions to the standard language that make the programming easier.

All you need is inside NB.EXE:

The report system

Figure u164.4. The report menu.

nbreport

nanoBase can handle label (.LBL) and form (.FRM) files in the dBaseIII format. Labels and forms may be created and edited inside nanoBase. Beside these old report system there is another way to make a little bit complicated reports without making a complex macro: it is called RPT.

A RPT file is a ASCII file with text mixed with code. The text may contain variables (usually a field or an expression containing fields).

To make a complex report some work is needed, but surely less than the time needed to make a report program.

The main purpose of it was to be able to print text with variables (typically names and addresses) for every record of a particular .DBF file. Now the RPT system makes something more.

The integrated text editor

Figure u164.5. The integrated text editor.

nbdoc

nanoBase contains an integrated text editor not particularly good, but very usefull for RPT files (as the expression insertion is very easy with the use of the [F2] key) and whenever there isn't any other editor there.

The internal documentation

Figure u164.6. The internal documentation.

nbhelp

nanoBase's documentation si translated also inside the HTF format: NB.HLP. Pressing [F1], normally, a contextual piece of the manual appears.

Some standard functions have its own internal help, contained inside the .EXE file. This was made to help programming with nanoBase.

Download it

Here is the 1997 edition of nanoBase.

Bugs and known problems

Here is the list of known bugs and problems.


1) This material appeared originally at http://www.geocities.com/SiliconValley/7737/nanobase.html, in 1997.

2) nanoBase   GNU GPL

«a2» 2013.11.11 --- Copyright © Daniele Giacomini -- appunti2@gmail.com http://informaticalibera.net