On 18/10/11 19:35, MikeS wrote:
"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."
Well, who knows? They might have been predicting better FPUs with longer
word lengths, which could represent Pi to a much greater precision!
--
Phil.
classiccmp at philpem.me.uk
http://www.philpem.me.uk/