Skip to content

Page 1

ND 10024 ND BASIC, 48-bit Floating Point Hardware

ND 10034 ND BASIC, 32-bit Floating Point Hardware

INTRODUCTION

ND BASIC is a simple and powerful high-level programming language that facilitates problem solving for scientific and educational applications.

BASIC was first developed in 1963/1964 and has since been revised several times. An advantage of BASIC is that its rules of form and grammar are quite simple and easy to learn. It was originally designed as an interactive language, and the user will find it convenient to solve mathematical problems directly from an alphanumeric display terminal or a printing terminal. BASIC can be used by many users in a time-sharing environment, and acts at the same time both as a compiler and as an interpreter.

FEATURES

  • A program, stored in BRF form, may be loaded and executed without the BASIC system in memory.
  • Comprehensive facilities for editing program source lines.
  • Multiple statements may be put on one line.
  • ND BASIC programs can be used with the SINTRAN III Real-Time (RT) System.
  • The statement ON ERROR GOTO continues program execution after an RT-error condition occurs.
  • Integer, double integer, real and character explicit data types.
  • Character arrays of one or two dimensions. Functions to allow the program to access a sub-string, determine the length of a string, convert a character to its corresponding ASCII value, or vice versa, search for a substring within a larger string and manipulate string character variables, e.g. concatenation.
  • Use of type declaratement REAL* with 48-bit floating point hardware gives high precision accuracy with at least 9 significant digits. This is important for scientific applications.
  • A comprehensive set of matrix manipulation functions.
  • Ability to dynamically change dimensions of arrays.
  • Printed data may be formatted by default formats or in formats specified explicitly by the user.
  • Data stored in virtual arrays may be stored permanently on disk, in the same way as files. Virtual string arrays may be treated as random access files.
  • Sequential files and random access files.
  • The OPEN statement establishes a communication between a SINTRAN III file name and a logical unit device number within the program.
  • A number of built-in functions. Extensions to existing set may be created by the user.
  • May have independent subprograms like subroutines and functions, the same way as in FORTRAN, with a parameter list. Independently compiled subroutines may be invoked by CALL statements.
  • Separately compiled functions or subroutines may be referenced with the EXTERNAL statement.
  • Subprograms in FORTRAN, NPL and MAC may be arbitrarily mixed with a BASIC program.
  • CHAIN statement to execute separate programs consecutively. May also be used for independently compiled programs which are to use the same data passed via COMMON.
  • COMMON statement. Reserves storage areas which can be referenced by more than one program. Use of COMMON avoids disk accessing.
  • Access to all facilities of the SINTRAN III system.

DOCUMENTATION

ND Basic Compiler Reference Manual ... ND-60.071


10024/10034-A1-6000–1181


Page 2

Norsk Data

Bjerkeliveien 20
Boks 4 Lindernberg gård
Oslo 10
Tel.: 02-39090
Tlx.: 18664 nd n

Location Telephone Telex
Bergen 05-229029
Sundsvall 060-26564
Tromsø 083-67554
Stockholm 08-706450 15255 nordata s
Gothenburg 031-49670
Malmö 040-70955
Copenhagen 02-855055 37725 nd dk
Wiesbaden 061-7541 418730 ndcfa
Versailles 611-408376 32653 nordata fernv
Paris 047-36216 28105 nd parts
Lyon 787-374747
Newbury (Berkshire) 0635-31445 849019 norskd g
Boston 617-237-7945 921470 norsk well

IMCOTEC

Bjerkeliveien 20
Boks 4 Lindernberg gård
Oslo 10
Tel.: 02-390930
Tlx.: 18660 nd n

Location Telephone Telex
Trondheim 075-16250 55580 comtc n
Stockholm (Upplands Väsby) 0700-8410 15255 nordata s
Stockholm (Sundsvall) 060-272564 17506 swecom s
Odense 09-19711 85988 comtec dk
Ballering (Copenhagen) 02-647006
Düsseldorf 0211-664388 8587277 comct d

NOTE: NORSK DATA reserves the right to change specifications without given notice!