Timex/Sinclair 1000 Branching Techniques

Pages: 7
Pages: 198x

Branches in a program are singles steps or routines (sets of steps) which cause the computer to go to certain places in the program. You, the programmer, may tell the computer where to go in the program in two general ways: directly, with a GOTO or GOSUB command, or; indirectly, with a variety of routines.

There are three basic ways you can cause branches indirectly. The simplest to understand is the method which uses IFโ€ฆ THEN statements. The second method, which is a bit harder to understand, uses a type of logic which the computer understands and is called BOOLEAN LOGIC. The third method blends both applications into a “hybrid” routine.

If you are confused by the term boolean or the idea of hybrid routines, relax and read on. Both terms will be explained before the branching routines of those types are explored.

People

No people associated with this content.

Scroll to Top