Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site murdu.OZ
Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!zehntel!dual!amd!decwrl!decvax!mulga!munnari!murdu!prl
From: prl@murdu.OZ (Peter Lamb)
Newsgroups: net.lang.mod2
Subject: Re: Modula-2 vs. C
Message-ID: <145@murdu.OZ>
Date: Wed, 15-Aug-84 13:52:36 EDT
Article-I.D.: murdu.145
Posted: Wed Aug 15 13:52:36 1984
Date-Received: Sun, 19-Aug-84 03:31:01 EDT
References: <1093@unm-cvax.UUCP>
Organization: Melbourne Uni, Australia
Lines: 12

Most things in Modula 2 are safer than C, but I think that
the ADDRESS operator returning POINTER TO WORD, rather than
POINTER TO  as happens in C
is a bit of a grot. If POINTER TO WORD was what you
*REALLY* wanted, then it can be coerced that way.

The only other aggravation is the persistance of the
ban on string constants of length 1. Why is it that Pascal and
MODULA both fail to provide a syntax for this object?
The problem is that '' and 'ab' are ARRAY OF CHAR, but
'a' is CHAR, ie, trying to use the same syntax for two
very different objects.