Just BASIC

Just BASIC

Just BASIC is a dialect of the highly popular BASIC programming language of the 1970's for 32-bit Windows computer systems. It's the freeware version of Liberty BASIC, popular since 1992. It allows you to create programs with a comprehensive tutorial, help files and a message board.

yntax

As the title suggests and most BASIC dialects are, the syntax is very simple and easy-to-learn. Programmers have found it is extremely effective in creating programs and even games because of this. Below is a list of some simple commands:

*print - Outputs text to the screen, as in: print "Hello, world!"
*GOTO - Instructs the computer to jump to another point in the computer program, specified by a label, as in: goto [start] or goto 10
*let - Allows the programmer to make one variable equal to another or do mathematical calculations, normally used to make code easier to read (as in the if/then example below). Note: It is not required to use the 'let' command before changing a variable: let h$ = "hello" is the same as h$ = "hello"
*input - allows the user to define a variable, as in: input "What is your name?"; name$
*if/then - allows the programer to make the program check a variable, and take certain actions depending on its value (or content if it's a string), as in: if n < 1 then let n = 1

*Here is the "Hello World" program in Just BASIC:

Print "Hello World"
end

Like most BASIC languages, JustBasic uses the standard if(example=example)'do somethingendifsyntax, instead of the more Java like { and }. Also note the use of only one equals sign, in contrast with the C-style "=" equality operator in many languages.

The GUI interface

Just BASIC also allows for the construction of GUI interfaces. It also comes with Freeform-J a WYSIWYG editor for just this purpose. FreeForm-J is the sister of Liberty BASIC's original FreeForm, which is now a community open-source project.

Compiling

Just BASIC automatically compiles the active program on running. To distribute a program, the programmer must "tokenize" a program, which compiles the active program into bytecode. The tokenized file is executed by the included runtime engine, which is named jbrun101.exe in the current v1.01 release.

Please note that the tokenized files created in JustBASIC are not in byte code.They are actually your entire source code, shorthanded and separately encoded depending on the functions and features. The JustBASIC runtime engine reads this file and executes the commands as if a user was entering them. In short, JustBASIC is interpretor not a compiler.

Difference between Liberty BASIC and Just BASIC

Here are some differences between Just BASIC and Liberty BASIC:
* Liberty BASIC supports API calls
* Liberty BASIC has custom dialogs for fonts, colors, and the printer
* Liberty BASIC has a POPUPMENU that implements a right-click menu
* Liberty BASIC has an internal SORT command
* Liberty BASIC costs $49.95 for the gold version, or $29.99 for the silver version, which doesn't allow you to compile a program.
* Liberty BASIC's IDE has a "quick jump" feature that lets you quickly jump to a label or function
* Liberty BASIC supports an add-on toolset called Assist (http://www.libertybasic.com/assist.html), which includes extra tools such as project management, profiling, source code versioning, colored source diffing, and more. This add-on is $49.95.

However, many enhancements to Just BASIC can be done by VBScript. The code for these enhancements can be found at the Just BASIC forum (see below for link).

The download size is about 2.5MB.

External links

*http://www.justbasic.com/ - Official website
*http://justbasic.conforums.com/ - Online forum


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Just BASIC — est une variante du langage de programmation BASIC (une version structurée du BasicA). Sommaire 1 Description 2 Voir aussi 3 Liens externes 4 Références …   Wikipédia en Français

  • Just BASIC — es un intérprete de BASIC programado en Smalltalk lanzado en 2004 bajo licencia freeware. No está orientado a objetos, aunque sí permite programación estructurada y es capaz de usar GUI s y gráficos. Puede usar puertos COM, por lo que puede ser… …   Wikipedia Español

  • Basic (langage) — BASIC Pour les articles homonymes, voir Basic. {{{image}}}   Sigles d une seule lettre   Sigles de deux lettres   Sigles de trois lettres …   Wikipédia en Français

  • BASIC — Información general Paradigma estructurado imperativo Apareció en 1964 Diseñado por John George Kemeny; Thomas Eugene Kurtz …   Wikipedia Español

  • Just War — theory is a doctrine of military ethics of Roman philosophical and Catholic origin [http://plato.stanford.edu/entries/war/ The first philosophers of just war were Aristotle and Cicero, and the first theologians St. Augustine and St. Thomas… …   Wikipedia

  • Basic English — Basic English, also known as Simple English, is an English based controlled language created (in essence as a simplified subset of English) by linguist and philosopher Charles Kay Ogden as an international auxiliary language, and as an aid for… …   Wikipedia

  • Basic Pilot Program — Basic Pilot was the official name of this program for the first ten years of its existence beginning in November 1997. The program s official name has since been changed to e verify but much of the press and public still continues using the… …   Wikipedia

  • Basic Research — is an herbal supplement and cosmetics manufacturer based in Salt Lake City, Utah that distributes products through a large number of subsidiaries. In addition, their products are sold domestically and internationally through a number of high end… …   Wikipedia

  • Just Stand Up! — Single par Artists Stand Up to Cancer Sortie 21 août 2008 (digital) 30 septembre 2008 (CD single) Enregistrement 2008 Durée …   Wikipédia en Français

  • Basic Element — is also the investment firm owned by Oleg Deripaska .Basic Element is a Swedish Eurodance group of the mid 1990s, which has returned in 2005 and is still releasing new material.From Malmö in Sweden the group originally consisted of… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”