DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Last post Author Topic: FORTRAN - All your problems will be solved.  (Read 23,758 times)

IainB

  • @Slartibartfarst
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
Re: FORTRAN - All your problems will be solved.
« Reply #25 on: May 17, 2012, 05:52 AM »
Yes, but it was just for fun (not to mention that I've forgotten most of it).
10 cls
20 goto 10
That's much better! Well done!    ;)
But I don't recall "cls" (stands for "clear screen"?) - was that ever a FORTRAN command?
Come to think of it, "clT" (stands for "clear Teletype"?) wasn't really required either.     ;)

oblivion

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 499
    • Participated in NANY Challenge Once
Re: FORTRAN - All your problems will be solved.
« Reply #26 on: May 17, 2012, 11:04 AM »
I've never seen anyone actually use a sliderule, though I have been in stores where the shopkeeper used an abacus. They were really fast with it.
I seem to recall one of the recent world championships in mental arithmetic was won by a ten year old Indian girl who, while doing some extraordinarily complex calculations in her head was simultaneously wiggling her fingers in front of her. When asked, she said that she was using an imaginary abacus to keep track of her calculations.

Oh, and I used to OWN a sliderule. Yes, and use it -- although this was back in the mid 1970s before calculators hit the mainstream, when I was about 14. At about the same time, a few of us in maths class were being taught to program a typewriter-sized adding machine that printed onto paper (like till rolls) instead of actually displaying anything.

Sliderules and log tables... all that work learning to use them, now atrophied and dead, pretty much along with the pocket calculators that replaced them. :)

(My first good pocket calculator was a TI-57. Programmable, but it didn't retain the programs when you switched it off. I got quite adept at writing little programs to do iterative calculations with it -- and I have a vague suspicion that I might still have it, somewhere...)

(Oh, and my first programming language was FORTRAN/4. Write onto 80-column coding sheets, send them off somewhere to be punched onto cards -- which helpfully had the code printed along the top of the card, which was useful if you'd forgotten to number them before demonstrating a cascade sort ;) -- and run, then debug and return the cards... the write/debug/rewrite cycle was about three days, because the computer centre we were using was 30 miles away from my school. And yes, I've forgotten it all too!)
-- bests, Tim

...this space unintentionally left blank.

joiwind

  • carpe momentum
  • Participant
  • Joined in 2009
  • *
  • Posts: 486
Re: FORTRAN - All your problems will be solved.
« Reply #27 on: May 17, 2012, 11:50 AM »
Yes, but it was just for fun (not to mention that I've forgotten most of it).
10 cls
20 goto 10
That's much better! Well done!    ;)
But I don't recall "cls" (stands for "clear screen"?) - was that ever a FORTRAN command?
Come to think of it, "clT" (stands for "clear Teletype"?) wasn't really required either.    ;)

Well ... basically ... (hint)  :P

Mark0

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 654
Re: FORTRAN - All your problems will be solved.
« Reply #28 on: May 19, 2012, 11:47 PM »
I seem to recall one of the recent world championships in mental arithmetic was won by a ten year old Indian girl who, while doing some extraordinarily complex calculations in her head was simultaneously wiggling her fingers in front of her. When asked, she said that she was using an imaginary abacus to keep track of her calculations.

Probably not this, but something like this:
http://www.youtube.com/watch?v=LXynrhW7tKo

IainB

  • @Slartibartfarst
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
Re: FORTRAN - All your problems will be solved.
« Reply #29 on: May 20, 2012, 01:36 AM »
Well ... basically ... (hint)  :P
Ah, that's right - BASIC had each line sequentially numbered, didn't it?
I don't think FORTRAN did, though I think you could give a line a number if you wanted.

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,027
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Linux User
Re: FORTRAN - All your problems will be solved.
« Reply #30 on: May 24, 2012, 03:04 PM »
FTR, there are GUI libraries for Fortran:

http://www.xeffort.com/
http://www.gino-graphics.com/products/menu.html
http://www.winteracter.com/
http://ftcl.sourceforge.net/
:Thmbsup:
All children left unattended will be given a mocha and a puppy.

IainB

  • @Slartibartfarst
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
Re: FORTRAN - All your problems will be solved.
« Reply #31 on: May 24, 2012, 11:59 PM »
@Edvard: Thanks for the interesting links!

Original address: https://www.donationcoder.com/forum/index.php?topic=30987.0