Qbasic Interface

19
Qbasic Interface Kaye Callorina Jolina Panabang GRADE 9-SSC-NEUMANN

Transcript of Qbasic Interface

Qbasic Interface

Kaye CallorinaJolina Panabang

GRADE 9-SSC-NEUMANN

What can you say about this blue thing?

WHAT IS IT?

Qbasic Interface

Qbasic InterfaceThe interface has the following features: Window displaying the current

program Menu Name of current program Window to immediately execute a

command Status bar Status of Caps Lock and Num Lock Current line of cursor Current column of cursor

What is Qbasic?Microsoft

QBasic (Microsoft Quick Beginners All purpose Symbolic Instruction Code) is an IDE and interpreter for a variant of the BASIC programming language which is based on QuickBASIC. Code entered into the IDE is compiled to an intermediate form, and this intermediate form is immediately interpreted on demand within the IDE.

Qbasic Examples

QBasic came complete with four pre-written example

programs. These were "Nibbles”, a variant of the Snake game; "Gorillas", an Artillery game;

“MONEY MANAGER", a personal finance manager; and "RemLine”,

a GW-BASIC code line-number-removing program

The Qbasic Interface and

its Parts

Current Program The current program is

displayed in the middle of the screen, and covers most of the Qbasic interface.

Current Program

MenuThe menu provides most of the operations

for the Qbasic editor. Such as opening a file, pasting text, and searching a string.

FileNew- clears the current programOpen- Loads a program from diskSave- Saves the current program to diskSave as- Saves the program, but under a different namePrint- Prints the selected text, current window, or entire programExit- Closes the Qbasic interpreter

EditCut- Removes the selected text and stores in the clipboardCopy- Copies the text instead of removing itPaste- Adds the text in the clipboard to the current position of the cursorClear- Removes the text without storing it in the clipboardNew Sub- Enables you to create a new subroutineNew Function- Enables you to create a new function

View

Search

SUBs- Shows the list of current subroutines(*Note: Other Qbasic’s View have Split and Ouput Screen)

Find- Allows you to search for a string of text in the program

Repeat Last Find- Continues the previous search operation

Change- Replaces each instance of a string with another string

Run

Debug

Start - Executes the current programRestart - Starts from the beginningContinue - Continues execution at the current positionStep - Processes the next commandProcedure Step - Processes the next command, but does not show QBasic going inside a subroutine or functionTrace On - Shows the command that is being executed while the program is running

Options

Display - Enables you to change display colors, the number of spaces to use for tabs, and whether or not scroll bars are visible

Help Path - The location of the QBASIC.HLP file

Syntax Checking - Allows you to have the QBasic editor check the syntax of your program as you type

HelpIndex - List of all QBasic commands, keywords, operators, etc.Contents - The table of contents for QBasic helpTopic - Show help for a specific keywordUsing Help - Displays information on using QBasic helpAbout - Shows information about the QBasic interpreter

Name of current programThe file name of the current program is displayed near the top of the screen in

the center. You can change the name by selecting "Save As" on the "File" menu.

Immediately execute a commandQBasic provides a way to execute a command without running the current program. To do so, select the bottom window (under "immediate") and enter a command, then press Enter.

Status barThe status bar is at the bottom of the

screen. It displays a short list commands (<Shift+F1=Help>

<F6=Window> <F2=Subs> <F5=Run> <F8=Step>).

When you highlight an item on the menu, the status bar displays a short

description of what the item does.

Status of Caps Lock and Num LockIf Caps Lock is set, a "C" is displayed on the right side of the status bar.If Num Lock is set, an "N" is displayed on the right side of the status bar.

Current lineOn the right side of the status bar, the current line of the cursor is displayed.

Current columnOn the right side of the status bar, the current column of the cursor is displayed (immediately after the current line).

*Qbasic functions like the human body. It can not do its work without the help of ALL its parts.

ABOUT THE AUTHORS:

Names: Kaye Callorina Jolina Panabang

Age: 15Address: San-Pablo, Binalonan

Sto. Domingo, San ManuelBirthdate: August 11, 1999

September 29, 1999

GRADE 9-SSC-NEUMANNJuan G. Macaraeg National

High School