INMC 80 News

  

May–September 1981, Issue 4

Page 21 of 71

Pascal Implementations For The NAS­COM.

by R. O’Farrell

There are currently available FOUR Pascal compilers for the Nascom. The purpose of this article is to tabulate them against each other, so that prospective purchasers can see how they differ in the facilities offered. It does not purport to be a review, as it is prepared solely from the circulated descriptions available from the suppliers. Prices are correct to the best of my knowledge at time of writing (2nd May 1981), but these should be confirmed by reference to the suppliers, who will no doubt answer any queries. I have only seen two of these implementations, the NASPAS and the INTEGER PASCAL, so can only write from personal experience on these two.

The available compilers are:


1. Integer Pascal

Datron Interform Ltd,
_ _________ ____,
Sheffield,
Cost 35-00

CONSTANTS:-32767 to +32767
Hexintegers %0000 to %FFFF
VARIABLES:integers:-32767 to +32767
Hexintegers %0000 to %FFFF
ARRAY[] of INTEGER
characters:ASCII
OPERATORS:integer: + – OR * DIV MOD AND SHL SHR
boolean: = < > <> <= >=
FUNCTIONS:
PROCEDURES:value parameters
CONTROLS:BEGIN – END
IF – THEN – ELSE
CASE – OF – : – ELSE – END
WHILE – DO
REPEAT – UNTIL –
FOR – TO/DOWNTO – DO
CALL (–)
INPUT/​OUTPUT:READ (–)
WRITE(–)
OTHER:Comments are supported. The MEM[array] allows access to any byte of memory, and the hexintegers allow easy reference to a particular byte of memory. Suffixes in the READ and WRITE statements allow values to be input and output as decimal, hex or ASCII
ACCURACY:Only integers are supported, so this is not a package for number crunching.


2. Enertech Pascal 16/C

ENERTECH Ltd.,
__ _________ ____,
Eastbourne,
East Sussex ____ ___,
Cost 40.00

CONSTANTS:numerical:ranges +/  0.1469 E-38 to +/  0.1701 E+39
character and character string:ASCII
Page 21 of 71