answersLogoWhite

0

In gw-basic, when program control is transferred depending on a certain condition, it is called conditional transfer of control. To transfer control from one point to multiple points is called multiple branching. Statement used in gw-basic for this purpose is ON.....GOTO.

Syntax:

ON numeric variable or expression GOTO n1, n2, n3,.......

The range o value of numeric variable or expression is 0 t0 255.

n1, n2 are valid line numbers where control will be transferred. If the value of numeric variable or expression is 1, the control will be transferred to line number n1, in case of 2 to n2 and so on.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Statement used for multiple branching in BASIC?

multiple branching is done by using ON...GOTO statement that transfers control to any number of choices


What are the difference between gwbasic and qbasic?

Difference between QBASIC and GWBASIC?


You want to save Excel numeric data into gwbasic format?

Not sure what you are trying to do. GWBasic is a programming language; Excel is a spreadsheet. If you like, just copy data from Excel to your GWBasic editing program and reformat, as needed.


What is full form of gwbasic?

George Washington Basic


What does GWBASIC stands for in computer language?

There are multiple options to this answer: 1.Gee Whiz Basic 2.Gates,Williams BASIC 3.Greg Whitten BASIC 4.Graphics and Windows BASIC.


What is branching descent?

The rise of two species from one species in a continuing process that resembles the branching of a tree or bush. This is called phylogenetic evolution and is the main driver of species arising over time.


How do you operate GWBasic computer programming language?

Check out the resources below.


What is the difference gwbasic commands and statements?

difference between command and statement


Why goto keyword not used in java?

Goto leads to morememory waste age and multiple branching occurs so memory is wasted


What is multiple branching?

Multiple branching refers to a programming or decision-making construct where a single point can lead to multiple possible paths or outcomes based on different conditions. This is often implemented using structures like switch statements or multiple if-else statements. It allows for more complex decision-making processes in algorithms, enabling the program to execute different code blocks depending on the specific criteria met. Essentially, it enhances the flexibility and functionality of control flow in programming.


How does surface area decrease when branching increases in an atom?

When an atom branches or forms multiple bonds, the surface area decreases because the branching or bonding atoms are now occupying space that was previously not filled. This reduces the available surface area for interactions with other atoms or molecules.


When was Branching Out created?

Branching Out was created in 1958-09.