Vous êtes sur la page 1sur 9

JUST BASIC

Just BASIC is a programming language for the Windows operating system. It


is completely free and it is suitable for creating all kinds of applications for
business, industry, education and entertainment. Just BASIC borrows many
features from our popular commercial product Liberty BASIC.
Because Just BASIC is based on the classic BASIC programming language it is
easy to learn, and it has been extended with structured programming
facilities and with easy to use GUI commands so you can create your own
Windows programs without needing to learn all the underlying details of the
Windows operating system.
Here are some features of Just BASIC:

It's free, of course!

Full tutorial and many example programs

Large online community

Syntax colouring editor

Easy source level debugging

Graphics including sprites and printing

Create standalone programs royalty free

Sample Window of Just Basic

Parts Just Basic Window

1.
2.
3.
4.
5.

New File Create New file just basic


Open File Open new file
Save Save Current work in just basic
Print Print just basic files
Find/Replace Find or replace codes in just basic

6. Cut Use to cut some codes in just basic


7. Copy Use to copy codes in just basic
8. Paste Use to paste codes in just basic
9. Run Run the just basic
10.
Debug Check every code in just basic
11.
Preferences changing options
12.
The World Just Basic Just basic tutorials
13.
Help All about just basic
14.
Release Notes Version of just basic
Tabs in Just Basic
1. File New Basic source file, open, insert file, save, save as, print,
recent files and exit
2. Edit Undo, cut, copy, paste, clear, select all, restore, find/replace, find
again
3. Run run, debug, kill basic programs, make tkn(token) file, run tkn file
and freeform gui
4. Setup preferences, Editor font, Printer font, External programs
5. Help Just basic help, just basic tutorial, release notes, online
resources, just basic news, just basic links, about just basic.
Getting Started
Print - Print text in the main window

Click the play button to run the program.


Tip: You can use Shift+f5 to run the program

Window will show the output of the program.

Saving Just Basic File

When saving just basic file do not erase the extension name (.bas) example
mybasic.bas
Locate Locate text in the main window

Output

locate 3(x position on the screen),5(y position on the screen):print "I'm here"

Let - Assign value to variable

Variables can use words and letters or combination of words and number like
the given example.
Semicolon use to combine strings and value together.

Input - Get data from keyboard, file or button

mynum1 and mynum2 are number variables.


Output
Enter any number in the 1st and 2nd value
The program will add the value of mynum1 and mynum2

String variable

String Properties

Code

Len(string variable) Getting the length of the string.


Right$(string variable, how many characters) - Getting the rightmost
character of the string.
Mid(string variable, starting point, how many characters) Getting the
middle character of the string.
Left$(string variable, how many characters) Getting the leftmost character
of the string.
Upper$(string variable) Transform the string into uppercase.
Lower$(string variable) Transform the string into lower case.
Output

Cls use to clear the screen

Vous aimerez peut-être aussi