[comp.lang.pascal] IEEE/ANSI Standard for Extended Pascal

North_TJ@cc.curtin.edu.au (Tim North) (10/09/90)

Excuse my ignorance on this, but I've just come across a reference to:

    "IEEE/ANSI Standard 770X3.160-8989 Standard for the *Extended* High Level
     Programming Language Pascal (1989)".

This is a new one to me. Would some kind soul please tell me (any or all of):
i.	What the main extensions are.
ii.	Has the standard been implemented yet?
iii.	Are there any textbooks/references on it?
iv.	Where can I order the standard from?

Many thanks in advance.
Tim North,
---------------------------------------------------------------------------
SNAIL :   Dept. Computer Engineering, Curtin University of Technology.
          Perth, Western Australia.
Internet: North_TJ@cc.curtin.edu.au
ACSnet:   North_TJ@cc.cut.oz.au
Bitnet:   North_TJ%cc.curtin.edu.au@cunyvm.bitnet
UUCP  :   uunet!munnari.oz!cc.curtin.edu.au!North_TJ
---------------------------------------------------------------------------

reagan@hiyall.enet.dec.com (John R. Reagan) (10/10/90)

In article <3910.2711a4a9@cc.curtin.edu.au>, North_TJ@cc.curtin.edu.au (Tim North) writes...
>Excuse my ignorance on this, but I've just come across a reference to:
> 
>    "IEEE/ANSI Standard 770X3.160-8989 Standard for the *Extended* High Level
>     Programming Language Pascal (1989)".
> 
>This is a new one to me. Would some kind soul please tell me (any or all of):
>i.	What the main extensions are.
>ii.	Has the standard been implemented yet?
>iii.	Are there any textbooks/references on it?
>iv.	Where can I order the standard from?
> 
>Many thanks in advance.
>Tim North,

Extended Pascal is the new standard from the Pascal standards committee.
It contains many features that exist as extensions in many Pascal
compilers.  I've posted the foreword to Extended Pascal to this newsgroup
in the past.

The main extensions include:

- Schema types.  These types provide run-time sized types and variables.
  Quite useful...

- Separate compilation in the Modula-2 style of IMPORT and EXPORT

- Variable-length strings

- AND_THEN and OR_ELSE short-circuit Boolean operators

- Variables can be bound to external entities (such as real-time clocks)

- Direct access files

- Restricted/private types

- initial state on types, fields, and variables

- Complex numbers

- and many more

I don't know of any Pascal that conforms completely to Extended Pascal.
VAX Pascal V4.0 contains many features from Extended Pascal, including
schema.

I don't know of any published textbook at this time.  I'm aware of
some in the works, but I can't say anymore than that.

You can order the standard from the IEEE.  It was listed in their
last order form.  The price was $55 US ($49.50 US for IEEE members).

---
John Reagan
Digital Equipment Corporation
reagan@hiyall.enet.dec.com
Disclaimer:  The opinions and statements expressed by me are not
             necessarily those of Digital Equipment Corporation.
---