Topic: Programming Lesson: How I learned to program SFC by Xerox  (Read 1051 times)

0 Members and 1 Guest are viewing this topic.

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Programming Lesson: How I learned to program SFC by Xerox
« on: June 25, 2009, 09:51:03 am »
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

 :o
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline Lono

  • Lt. Junior Grade
  • *
  • Posts: 445
  • Gender: Male
Re: Programming Lesson: How I learned to program SFC by Xerox
« Reply #1 on: June 25, 2009, 02:15:14 pm »
Now THAT'S funny!  ;D

Couldn't we just round it to 3?

 :P


Offline Sarek

  • Commander
  • *
  • Posts: 2553
Re: Programming Lesson: How I learned to program SFC by Xerox
« Reply #2 on: June 26, 2009, 05:47:47 pm »
You know how Pun is about pi, if he gets hold of the program you'll be lucky if it's not zero.

Remember, democracy never lasts long. It soon wastes, exhausts, and murders itself. There never was a democracy yet that did not commit suicide.  – John Adams (1814)


www.lp.org