March 9, 2007

DATA Statement

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

Navigation:

1 Comment »

  1. 1

    Haha. Classic.

    Comment by Pat — March 10, 2007 @ 10:15 am


RSS feed for comments on this post. TrackBack URI

Leave a comment



Powered by WordPress
Copyright by Gary Paulson

Bad Behavior has blocked 2253 access attempts in the last 7 days.