ArticleslgStudy

science

SCELBAL

SCELBAL is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand SCELBAL rather than just read about it. In short: SCELBAL, short for SCientific ELementary BAsic Language, is a version of the BASIC programming language released in 1976 for the SCELBI and other early Intel 8008 and 8080-based microcomputers like the Mark-8. Later add-ons to the language included an extended math package and string handling.

Key takeaways

  • SCELBAL belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect SCELBAL to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of SCELBAL from memory before moving on to harder problems.

Reference excerpt

SCELBAL, short for SCientific ELementary BAsic Language, is a version of the BASIC programming language released in 1976 for the SCELBI and other early Intel 8008 and 8080-based microcomputers like the Mark-8. Later add-ons to the language included an extended math package and string handling. The original version required 8 kB of RAM, while the additions demanded at least 12 kB. The language was published in book form, with introductory sections followed by flowcharts and then the 8008 assembler code. The book described ways to save more memory, turning off arrays for instance, and how the user could add their own new features to the language.

History The primary author of SCELBAL is Mark Arnold, who was a high-school student in 1974 when the SCELBI was announced. Arnold was friends with professors at the University of Wyoming (UW), and through them had arranged to have an account on their Sigma 7 mainframe computer. The first version of what became SCELBAL was written for this machine. Later that year, he wrote an 8008 cross compiler on that platform. Arnold entered UW in 1975 and contacted Nat Wadsworth, one of the founders of SCELBI, pitching the idea of a compiled version of BASIC for their new platform. This would be a multi-pass system that would save the intermediate versions on cassette tape. This would be very tedious to use but would produce programs that would run on the 4 kB 8H models of the system. Wadsworth favored an interpreter, which would require 8 kB, which would be available on the new 8B models of the system. The language used floating point routines published by Wadsworth in 1975 in Machine Language Programming for the 8008. It took Wadsworth several months to finally arrange a contract, which included sending Arnold an 8B development system. This significantly delayed the release of the language into 1976. Arnold speculated that, lacking these delays, SCELBAL could have been released at about the same time as Altair BASIC in late 1975. It was first presented in a lengthy article in the second issue of Dr. Dobb's Journal in February 1976. The release of SCLEBAL was announced in an advertisement in Byte's June 1976 issue. The ad did not specifically link the language to the SCELBI platform, instead, it simply offered itself in book form as a complete source listing to create a version of BASIC on any 8008 or 8080 system with the requisite 8 kB of RAM. The book's price was $49, about $277 in 2025.

Description SCELBAL used a 32-bit (four byte) floating point format for numeric calculations, with a 23-bit mantissa, 1-bit sign for the mantissa, a 7-bit exponent, and 1-bit sign for the exponent. These were organized in reverse order, with the least significant byte of the mantissa in the first byte, followed by the middle and then most significant byte with the sign in the high bit. The exponent came last, again with the sign in the high bit. The manual provides well-documented assembly code for the entire math package, including entry points and usage notes. 32-bit formats were common in this era, while later versions of BASIC, starting with Microsoft BASIC for the MOS 6502, generally adopted a 40-bit (five byte) format for added precision. SCELBAL was otherwise similar to other BASIC dialects, including early MS versions like Altair BASIC, lacking string variables and operators and a number of mathematic functions. Other differences were less pronounced. The IF statement had an optional form IF...GOTO that removed the need for THEN, IF X<Y GOTO 100. It also retained the MS-style short form for the same concept, IF X<Y THEN 100. It also allowed conditional execution of other statements, such as IF X<Y THEN PRINT X.

The base language did not support string handling, although literal (constant) strings could be used in PRINT, and had the supporting functions of CHR to print non-printable characters, and TAB to provide layout. Oddly, the system required ASCII codes to have the high-bit set, so to convert from normal ASCII to SCELBI character codes, one had to add or subtract 128. For instance, to produce the string "HELLO, WORLD" in the output. INPUT would normally read the user-entered text as a number, but allowed the dollar sign to indicate the value should be read as the SCELBI code instead. For instance, INPUT A would read the user input "1" into A as the floating-point value 1, while INPUT A$ would result in A being set to 177, 49 (ASCII for "1") + 128. Additionally, when the dollar sign is used, the traditional "?" prompt is not printed, and command returned to the language as soon as a single character is entered, instead of waiting for the carriage return as in the normal case. Among the few other differences was that the NEW command found in MS, which clears out existing program code and data, is called SCR for "scratch", and the USR function, which called a machine language routine, was UDF for "user defined function". UDF allowed a single floating-point parameter to be passed to the user-defined function, whose machine-language code must have been loaded into memory at a fixed location ahead of runtime. Error codes were reduced to two letters, and code for LOAD and SAVE were provided in boilerplate form and expected to be implemented when ported to different platforms. Line numbers could be between 1 and 999999, whereas most BASICs used a 16-bit integer and thus supported lines from 1 to 32767 or 1 to 65535.

Language features Taken from the 1976 manual unless otherwise noted.

Commands

Immediate-mode only Referred to as "executive" mode in the documentation.

SCR scratch, equivalent to MS NEW LIST

RUN

LOAD

SAVE

Immediate or program mode PRINT

INPUT Like MS, could accept multiple variables, INPUT A,B,C. Did not include a prompt string. LET Like MS, the LET was optional, so 15 LET X=10 and 15 X=10 are equivalent. IF...THEN

IF...GOTO Alternate form of IF...THEN. GOTO It appears the "spaced version", GO TO, was not supported. GOSUB...RETURN

FOR...TO...STEP...NEXT As in MS, STEP is optional and assumed to be 1. NEXT required a variable, unlike later MS versions. REM

END

DIM Arrays worked as in MS, but were optional and could be turned off to save memory. Only single-dimension arrays were supported, and the total number of elements for all arrays combined was 64 numbers.

Functions INT

SGN

ABS

SQR

RND As in MS, takes a dummy variable and returns a value between 0 and 1. CHR Note the lack of the $ found in MS, which uses CHR$. TAB

UDF

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with SCELBAL

Start with the simplest possible case. Write down what SCELBAL claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to SCELBAL before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about SCELBAL ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of SCELBAL

In research
SCELBAL appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses SCELBAL in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
SCELBAL is common in secondary-school and first-year university syllabi. It links to neighbouring topics BASIC interpreters, BASIC programming language family, so understanding it makes those chapters shorter.
In everyday life
Look for SCELBAL outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “SCELBAL” →

How to study SCELBAL in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what SCELBAL means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain SCELBAL out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is SCELBAL in simple terms?

SCELBAL, short for SCientific ELementary BAsic Language, is a version of the BASIC programming language released in 1976 for the SCELBI and other early Intel 8008 and 8080-based microcomputers like the Mark-8. Later add-ons to the language included an extended math package and string handling.

Why does SCELBAL matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study SCELBAL?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on SCELBAL.

Tags

  • BASIC interpreters
  • BASIC programming language family

Keep exploring