Who here likes FORTRAN?

This is a discussion on Who here likes FORTRAN? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Ok I can't attest to the credibility of this here.........but it's pretty ironic...... "The primary purpose of the DATA statement ...

  1. #1
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427

    Who here likes FORTRAN?

    Ok I can't attest to the credibility of this here.........but it's pretty ironic......

    "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
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    >>> should the value of pi change

    Indeed!

    Actually, yes, I liked FORTRAN. I used it pretty much daily from 1977 to 1996, but do not have a compiler right now.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    Hehehe the value of PI changing isn't that a little odd? Oh man they should've used something else as a variable.
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  4. #4
    Unregistered
    Guest
    where "pi the number is constant", "pi the variable" can change. That's what they're refering to...due to space limitations you'll never be able to truly represent pi in memory...so you can see that the value stored in the variable might change. not that hard to imagine...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. real-world apps in C++ (preferably simple)?
    By Aisthesis in forum C++ Programming
    Replies: 13
    Last Post: 06-12-2009, 01:03 PM
  2. Its About Fortran
    By panfilero in forum Tech Board
    Replies: 2
    Last Post: 11-29-2005, 06:49 AM
  3. need some help with fortran
    By InvariantLoop in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 03-08-2005, 02:13 AM
  4. Linking Fortran procedures with C program
    By gest in forum C Programming
    Replies: 5
    Last Post: 07-14-2003, 12:35 PM
  5. any good fortran help sites
    By smd in forum C++ Programming
    Replies: 3
    Last Post: 07-02-2002, 06:10 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21