Programming with Omikron Basic for Apple Power Mac, Macintosh



Omikron Basic 6
for Power Mac Computers

Omikron Basic functions apple program code even programs apple mac assembler commands programming complex editor instruction output source syntax environment input mathematical numbers, operating system operators, C, or procedures, windows addition window

Mac General Features
program The Comprehensive Instruction Set
The Integrated Editor
The Source Code Debugger
Mac Basic

General Features

Omikron Basic is a multipurpose programming language, which is easy to learn and allows even beginners to write their own programs after a short time.

programming For most projects, there is no need for internal knowledge of the Macintosh operating system.

Omikron Basic doesn't need complicated project definitions. Simply open a new code window and start to write your program.

Omikron Basic has short turnaround periods because you can test your programs immediately by using 'Compile & RUN' and/or 'Debug'

Omikron Basic generates high speed PowerPC Code.

source Omikron Basic allows modular programming by using procedures and functions.
apple mac programming basic
Global and local variables enable recursive programming.

apple mac programming basic Multi-Window-Editing: One Program can be worked at in many different windows. You don´t need to scroll to and fro anymore. Changes made in one window are transmitted to all the others at once.

apple.gif Omikron Basic´s output windows also allow you to run programs in a multitasking environment, even if they do not have their own graphical environment.  Commands such as PRINT and INPUT are diverted into the output windows.


The Comprehensive Instruction Set

apple.gif Seven different data types (bit, byte, halfword, word, single float, double float, and strings up to 2 gigabytes in size).

Very fast operating string management (completely written in assembler language). Therefore strings do not need to be dimensioned. Effective use of memory is guaranteed.

apple.gif Dimensioned arrays can be redimensioned while the program is running and can grow up to 2 gigabytes in size.

apple.gif You can also use ASCII characters from 128 to 255 for variable names. Consequently it is possible to use special characters in your program such as Greek etc., provided that you have installed a suitable font.

apple.gif Comprehensive drawing instructions (points, lines, squares, circles, ellipses.) All graphics commands as well as PRINT can be diverted to any graphics port. For instance, this allows you to use the same routine for your printer as well as for the output on your screen.

All important mathematical functions factorial of any real number, exponential functions, logarithmic functions with any basis, trigonometric functions from sine to hyperbolic area tangent.

Very fast string functions (LEFT$, RIGHT$, MID$, STR$, INSTR etc.)  written entirely in assembler. Matrices and determinant arithmetic. Mathematical and Boolean operators, bit shifting commands, pointers and address operators. Formatted output of numbers by using a USING string. Define your own input mask with 'INPUT USING'.

Very rapid sorting of arrays by using the SORT instruction, which has been completely written in assembler

FOR NEXT loops even with arbitrary floating point numbers for the counting variables as well as for the step rates.

mac.gif Powerful flow control commands (IF...THEN...ELSE...ENDIF, FOR...NEXT, WHILE...WEND, REPEAT...UNTIL, SELECT...CASE...END_SELECT)

mac.gif Integrate assembler code into your programs using INLINE, USR, CALL.

All functions provided by the Macintosh operating system can be easily called by Omikron Basic. It is also possible to import functions from export libraries provided by other programming languages (C, Pascal, Fortran). Thus, Omikron Basic is prepared for the most complicated projects. (Even Omikron Basic itself has been programmed in Omikron Basic by using the EasyGem,  Extension, and Assembler Libraries)


The Integrated Editor

mac.gif Syntax Checker: The tokenizing editor checks your syntax as you write. At the end of each  line, it immediately warns you if there is any type of syntax error.

Comprehensive editing functions (e.g., block functions such as cut, copy, paste, move, even directly moving into other windows without using the clipboard). In addition to the known standard functions, Omikron Basic also makes the direct move or copy of token code possible .

mac.gif Useful search and replace functions: search for tokens, text, definitions, and errors (forward and backward). You can let Omikron Basic open a new window to list all entries. With a mouse click on one of the entries, Omikron Basic scrolls to the specified location in your source code.

The high speed compiler translates even large programs into highly optimized, compact code in just a few seconds.

" C o l o r C o d i n g ." Different token types are represented by different colors. Therefore your program becomes very clear as structure commands are displayed in a color that differs from that of operators or comments, etc. (This function can be switched off if you don't want it).
All colors and shortcuts can be arbitrary defined.

mac.gif Automatic indention of structures (loops, IF...THEN...ELSE branches or subroutines).

mac.gif For a better survey you can fold parts of your program. Only the first line of this hidden part can be seen which makes the program in the editor short and clear. Folded parts can also be inserted into one another and protected with a password.
The number of windows you can have open simultaneously is limited only by your hardware.
apple powermac basic The integrated Source Code Debugger
The debugger may be used to run through your program in single steps while monitoring the content of variables and memory cells as well as being able to step into and step out of procedures and functions. There is also an animation mode, which may be used to run a program in something akin to slow-motion. The debugger is thus best suited to find errors and for didactic purposes to clarify, e.g., the working of algorithms step by step.



mac.gif Libraries extend the instruction set for special requirements. A library is a collection of procedures and functions which occupy only one single line of your program source.

mac.gif You can easily
make your own libraries with the Library Maker and distribute them. Users of your libraries will have no access to your source code.

Berkhan-Software does not claim any copyrights on programs built with Omikron Basic and the libraries.

With EasyGem Library you can give your program a graphical environment. Just insert a suitable command into your source code. It isn't necessary to deal with a separate resource file.

Complex Library allows you to calculate using complex numbers and provides all important mathematical functions. In addition, all zeros of complex polynomials and path integrals can be calculated in the complex plane.

mac.gif Numeric Library contains procedures for Fourier transformations and for solving differential equations and systems of equations.

Statistic Library offers functions for testing distribution and confidence intervals, simple and multiple regression, and variance analysis.



© 1997-2003 Berkhan-Software
Apple and Apple Power Mac are registered trademarks of Apple Computer Inc.