[plt-scheme] How to insert an element in empty list?
jerzy.karczmarczuk at info.unicaen.fr wrote:
> All this, and Matthias pedagogical answer in particular, remind me times
> when I used Fortran; I remember one implementation on a CDC mainframe,
> where the user *could* corrupt numerical constants, for example making that
> a constant 1 (stored in memory, not an assembly-level literal...) became
> equal to 2. What a mess it could produce, you can hardly imagine...
It all makes sense now...
The primary purpose of the DATA statement is to give names to
constants; instead of referring to pi as 3.141592653589793 at every
appearance, the variable PI can be given that value with a DATA
statement and used instead of the longer form of the constant. This
also simplifies modifying the program, should the value of pi change.
- FORTRAN manual for Xerox Computers
--
Jens Axel Søgaard