Difference between revisions of "BlitzBasic/AmiBlitz"

From Amiga Coding
Jump to: navigation, search
Line 8: Line 8:
 
This guide is intended to provide useful information and a reference to help Blitz programmers get started and move onto more advanced programming. It's not intended to be a full reference for all Blitz functions, but to provide useful guidance on the most commonly used commands. The Blitz basic 2.1 manual and the AmiBlitz documentation include far more reference material which should be consulted should you find that what you want to do isn't covered here.
 
This guide is intended to provide useful information and a reference to help Blitz programmers get started and move onto more advanced programming. It's not intended to be a full reference for all Blitz functions, but to provide useful guidance on the most commonly used commands. The Blitz basic 2.1 manual and the AmiBlitz documentation include far more reference material which should be consulted should you find that what you want to do isn't covered here.
  
==Starting With Blitz==
+
==How Blitz Works==
* [[Blitz:Compilers|Compilers]]
+
Blitz uses a compiler integrated with the editor so you can directly compile and run your code without having to leave the editing environment. Commands come from a variety of sources and Blitz has the ability to add more commands if required.
* [[Blitz:Features|Features]]
 
* [[Blitz:First Program|First Program]]
 
* [[Blitz:General Syntax|General Syntax]]
 
* [[Blitz:Operators|Operators and Expressions]]
 
* [[Blitz:Arrays|Arrays]]
 
* [[Blitz:Data types|Data Types]]
 
* [[Blitz:Common Commands|Common Commands]]
 
** [[Blitz:Program Flow|Program Flow]]
 
** [[Blitz:Shell Input/Output|Shell Input/Output]]
 
** [[Blitz:Decision Making|Decision Making]]
 
** [[Blitz:Loops|Loops]]
 
* [[Blitz:Procedures|Procedures]]
 
* [[Blitz:Includes|Includes]]
 
* [[Blitz:OS Calls|OS Calls]]
 
* [[Blitz:Debugger|Debugger]]
 
* [[Blitz:Good Practice|Good Practice]]
 
  
==Advancing With Blitz==
+
Commands are stored in a number of Blitz "libraries" - these files contain the machine code representation of a number of related commands, and it's these that the compiler strings together to make your program work.
* [[Blitz:Intuition|Intuition]]
 
** [[Blitz:Screens|Screens]]
 
** [[Blitz:Windows|Windows]]
 
** [[Blitz:Events|Events]]
 
** [[Blitz:Menus|Menus]]
 
* [[Blitz:GUI Toolkits|GUI Toolkits]]
 
** [[Blitz:IntuitionGadgets|Intuition Gadgets]]
 
** [[Blitz:GadTools|GadTools]]
 
** [[Blitz:MUI|MUI]]
 
** [[Blitz:TUI|TUI]]
 
* [[Blitz Mode|Blitz Mode]]
 
 
 
==Related Information==
 
* [[Blitz:Resources|Resources]]
 
* [[Blitz:Made in Blitz|Made with Blitz]]
 
 
 
==Reference==
 
* [[Blitz:Object types|Object Types]]
 
  
 
[[Category:Programming languages]]
 
[[Category:Programming languages]]
 
[[Category:Blitz Basic / AmiBlitz|Blitz]]
 
[[Category:Blitz Basic / AmiBlitz|Blitz]]

Revision as of 13:45, 23 September 2015

Amiga Blitz Basic was originally developed as commercial software under the name of Blitz Basic and then Blitz Basic 2 by Simon Armstrong and Mark Sibley of Acid Software in New Zealand. It was later re-released as freeware under the GNU General Public License. More recently Bernd Roesch and others of Amiforce have continued development of the editor and compiler, under the name AmiBlitz.

AmiBlitz has continued to grow and evolve, adding many features that allow for more modern coding styles and techniques while retaining compatibility with the original Blitz Basic. For example, a set of "Include" files are now included with the AmiBlitz distribution which extend and improve the functionality of AmiBlitz by offering many useful functions and system-friendly alternatives to the older built-in commands. These files include support for most common dos.library functions, intuition functions, AHI support, graphics functions with 24-bit colour support and so on.

The AmiBlitz IDE has also been improved and offers such features as context-sensitive help for Include functions, variable and struct browser, syntax reference browser and so on. However, this means that the AmiBlitz development environment has higher requirements than the original Blitz Basic environment on which it's based, so for developing on an unexpanded Amiga, getting hold of the older Blitz Basic 2.1 might be simpler.

Introduction to This Guide

This guide is intended to provide useful information and a reference to help Blitz programmers get started and move onto more advanced programming. It's not intended to be a full reference for all Blitz functions, but to provide useful guidance on the most commonly used commands. The Blitz basic 2.1 manual and the AmiBlitz documentation include far more reference material which should be consulted should you find that what you want to do isn't covered here.

How Blitz Works

Blitz uses a compiler integrated with the editor so you can directly compile and run your code without having to leave the editing environment. Commands come from a variety of sources and Blitz has the ability to add more commands if required.

Commands are stored in a number of Blitz "libraries" - these files contain the machine code representation of a number of related commands, and it's these that the compiler strings together to make your program work.