Some notes about Blassic.

Last modified: 30-aug-2003.

Line numbers or not line numbers?

You can be confused by the fact that the presentation of Blassic says "line numbers are mandatory" but many of the sample programas have no line numbers at all. The answer is simple, Blassic always use line numbers, but when a program is loaded in text format the numbers are auto generated if not present. That way using LABEL as target of GOTOs and GOSUBs you can efectively write a program without worrying about the line numbers, but they are here if your program need them.

If you want to strip the line numbers of a program you can save it in binary form and use the sample program list.bas with the -n option, like this: blassic list -n program.blc > newprogram.bas.

Execute a program by giving only its name.

In unix versions you can write programs that execute as normal commands, without using "blassic program". You only need to put in the first line "# !/usr/bin/blassic" and give it execute permission. When loading the program Blassic ignores the first line if begins with an "#", so you can use this unix usual method.

Compiled Blassic programs.

No, there is no compiler for Blassic. Maybe someday...

Can I create windows?

No, the graphics modes create a unique window. The WINDOW instuction define text frames into this window that can be used to print into different channels. Is taken from the Amstrad CPC Basic.

Feedback.

Mailing list: http://groups.yahoo.com/group/blassic/

e-mail: ninsesabe@arrakis.es

 That's all folks!