Omikron
Basic Demo Programs.
General Information
This folder contains some very simple programs,
which do not feature an user interface of their own. All inputs and outputs are realized
with the INPUT and PRINT commands. This makes these demos rather short so that they
can be compiled and started with the Omikron Basic Demo version as well. Of course,
do not expect miracles from these sample programs, however, they do show that just
a few program lines can yield astonishing results. To see for yourself, just load
one of these small programs, e.g., 'Lissajous.BAS' into the Omikron Basic Editor
by simply dragging the file icon onto the OmikronBasic icon. The program generates
two-dimensional patterns, which are the result of the interference of periodic functions,
so-called Lissajous figures. Varying the two frequencies and the phase shift result
in very nice patterns that can also be printed with a high resolution if required.
Note: Sample programs with a graphical user interface of their own are located
in the 'EasyGem:DEMO' folder.
Debugger (Demo)
Omikron Basic includes an integrated source code
debugger. This debugger is used to easily find errors within the program. This subfolder
contains a few programs that demonstrate the function of the debugger. Some errors
were included in the programs on purpose so that you can use the debugger to find
them. Thus, do not be surprised if the program 'Eratosthenes.BAS' does not calculate
the prime numbers accurately. This is intentional.
LibraryMaker (Demo)
Use Omikron Basic to combine program parts in
a library. This library then uses only one program line and is list protected, which
means the code cannot be viewed by anybody else. This requires the LibraryMaker,
which you can open from the Editor. The examples in this folder show how a program
is supposed to be structured in order to change it to a library.
Warning: A program intended for a library usually cannot be started
directly. Thus, do not attempt to compile and start, e.g., 'Game.BAS' . Instead,
use 'MoveSprites', which contains 'Game.BAS' as a library.
SharedLibrary
In addition to the Omikron Basic Libraries, which
have to be loaded individually to the program where they are to be used, it is also
possible to use Omikron Basic to generate so-called shared libraries. These libraries
are already compiled and therefore can be utilized by any other program. This folder
contains sample programs that show how to create shared libraries and how to use
them from another program.
|