Path: utzoo!mnetor!uunet!swlabs!jack From: jack@swlabs.UUCP (Jack Bonn) Newsgroups: comp.lang.c Subject: Re: C blocks Message-ID: <1582@swlabs.UUCP> Date: 17 Dec 87 13:35:37 GMT References: <470@PT.CS.CMU.EDU> <1966@chinet.UUCP> <463@trantor.quintus.UUCP> <1990@chinet.UUCP> Organization: Software Labs, Ltd. Easton CT USA Lines: 22 In article <1990@chinet.UUCP>, dag@chinet.UUCP (Daniel A. Glasser) writes: > > In C, the following is effectivly a no op, it does something in bliss -- > Anybody care to guess what? (A is a scalar) > > A = A; Doesn't this set A to the address of A? If I remember my (over the shoulder) exposure to Bliss, a prefixed "." operator was required to get a value. A similar feature is present in C in that X (for an array X) is the same as &X[0]. But in C it is a special case. In Bliss, I think it is "the" way. But wasn't addressing always in bytes? For a 4 byte integer array A, B = A + 4; wouldn't B be set to &A[1] in C terminology? Especially ugly for pointers to structures it would seem. -- Jack Bonn, <> Software Labs, Ltd, Box 451, Easton CT 06612 uunet!swlabs!jack