翻訳と辞書
Words near each other
・ Basic subgroup
・ Basic Support for Cooperative Work
・ Basic telecommunications access method
・ Basic Theology
・ Basic Training
・ Basic Training (1985 film)
・ Basic Training Honor Graduate Ribbon
・ Basic Training – Initial Military Training
・ Basic Treaty
・ Basic Treaty of Friendship and Cooperation
・ Basic Treaty, 1972
・ Basic utility vehicle
・ Basic writing
・ BASIC-11
・ Basic-256
BASIC-PLUS
・ BASIC09
・ Basic4android
・ Basic4GL
・ Basic4ppc
・ Basically
・ Basically Frightened
・ BasicCard
・ Basiceros
・ Basichlamys
・ Basick Records
・ Basicladia
・ BasicNeeds
・ Basico
・ BASICODE


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

BASIC-PLUS : ウィキペディア英語版
BASIC-PLUS

BASIC-PLUS was an extended dialect of the BASIC programming language developed by Digital Equipment Corporation (DEC) for use on its RSTS/E time-sharing operating system for the PDP-11 series of 16-bit minicomputers in the early 1970s through the 1980s.
==Operation==
Users would sit at a terminal and type in programming language statements. The statements could either be entered into the system's command interpreter directly, or entered into a text editor, saved to a file, and loaded into the command interpreter from the file. Errors in source code were reported to the user immediately after the line was typed.
The language system provided two modes of storage:
* A program could be stored on the system in an editable source file (a .BAS file) using the "SAVE" command, or
* Semi-compiled into a non-editable binary .BAC file by the "COMPILE" command.
Source programs could be edited and run, similar to the BASIC interpreter which years later was included with the IBM PC in ROM.
While the command interpreter had a "COMPILE" command, it was not a true native machine language compiler. The language was a semi-compiled language, in which a source program was "compiled" into byte code called "PPCODE" (Push-Pop Code), for a virtual stack machine, and the tokens interpretively executed, in a manner similar today to the execution of programs using the Java language.
Programs were entered into the command interpreter starting with line numbers, integers from 1 to 32767, and were continued on multiple lines by using a line feed at the end of a line instead of the return (enter) key. For ease of external editing of the source file, later versions of BASIC-PLUS also allowed the & character as a line-continuation character. Multiple statements could be placed on a single line using \ or : as the statement separator.
Variable names in the early versions of BASIC-PLUS could be a single letter or a single letter followed by a single digit. With the inclusion of "Extend mode" in later versions, variable names could be up to 29 characters long, and dot (.) was added as a permitted character, but every variable name still had to begin with a letter. (Before the introduction of Extend mode, white space was not required between variables and other language elements: "FOR I=STOP" would be interpreted as "FOR I = S TO P".) Integer variables (16-bit, range -32768 to +32767) were indicated with a % suffix; string variables (variable length) were indicated with a $ suffix. Variables with no suffix were floating point (8 bytes, range .29 x 10E-38 to 1.7 x 10E38, up to 16 digits of precision). Arrays could have one or two dimensions. Virtual arrays (stored in disk files) allowed storage of far more data elements than could fit in program memory, and could be saved permanently on disk.
The virtual address space of a RSTS/E user was limited to a little less than 64KB of space. Using BASIC-PLUS, about half of this virtual address space was used by the combined command interpreter and run-time library (named the Run Time System on RSTS/E). This limited user programs to about 32KB of memory. Large programs were broken up into various pieces by use of the "CHAIN" statement, and programs could chain to specific line numbers in a secondary program to indicate that program should begin execution at a different point than its first line. This feature of chaining to a certain line number allowed programs to signal to each other that they were being called from another program. The use of a shared memory section called core common also allowed programs to pass data among each other as needed. Disk files could also be used but were slower.
To conserve memory, the interpreter included a garbage collecting memory manager, used for both string data and byte-code.
A running program could be interrupted, have variables examined and modified, and then be resumed.
Many of the control structures used in other high-level languages existed in BASIC-PLUS, including WHILE and UNTIL, and the language also supported the use of modifiers on a line to control execution such as
PRINT I UNLESS I < 10

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「BASIC-PLUS」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.