System/34 BASIC - BASIC Conventions

BASIC Conventions

BASIC interpreters written in the Seventies tended to "do odd things odd ways." For example, on the Apple II, a programmer could embed a DOS command into a program via PRINT, when prefaced by the character string CHR$(4). PEEK and POKE could be used in various BASICs to examine memory content or change it, or even to create an ad hoc machine language program and then run it. System/34 BASIC tends to stay away from these odd conventions; however, the programmer could call for the Alarm (a buzzing sound made by the terminal) via PRINT CHR$(7).

BASIC statements are expected to be entered in capital letters, and while the operator can press Cmd2 to use lowercase, the BASIC interpreter will convert non-comment keywords into uppercase.

So that BASIC could be useful in a midrange computing environment, IBM added extensions to the language that were specific to the hardware and software conventions of the IBM System/34 Family, such as the WORKSTN file, support for indexed, direct, and sequential disk files, the ability to open and close multiple printer files, and LOAD/SAVE from libraries on the fixed disk.

Read more about this topic:  System/34 BASIC

Famous quotes containing the words basic and/or conventions:

    Of course I lie to people. But I lie altruistically—for our mutual good. The lie is the basic building block of good manners. That may seem mildly shocking to a moralist—but then what isn’t?
    Quentin Crisp (b. 1908)

    What people don’t realize is that intimacy has its conventions as well as ordinary social intercourse. There are three cardinal rules—don’t take somebody else’s boyfriend unless you’ve been specifically invited to do so, don’t take a drink without being asked, and keep a scrupulous accounting in financial matters.
    —W.H. (Wystan Hugh)