aidan@skinner.demon.co.uk (Aidan Skinner) writes: > On Tue, 27 Apr 1999 14:18:38 +0200, Tarjei Tj�stheim Jensen > wrote: > > >Arrays as functions? Since when could you assign to a function?? > > Dont think of it as > a(5) := b; > > but as > a(5).all := b; > > where you're not assigning to a function, but to an object via a pointer. The Dijkstra/Gries school views an array as a function. Instead of assigment to one element of the array, you look at it as changing the entire value of the function. The Science of Programming, by David Gries A Discpline of Programming, by Edsger Dijkstra