topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 2:29 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
  • @Slartibartfarst
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: FORTRAN - All your problems will be solved.
« Reply #25 on: May 17, 2012, 12: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: 495
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: FORTRAN - All your problems will be solved.
« Reply #26 on: May 17, 2012, 06: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

  • Participant
  • Joined in 2009
  • *
  • Posts: 486
  • carpe momentum
    • View Profile
    • Donate to Member
Re: FORTRAN - All your problems will be solved.
« Reply #27 on: May 17, 2012, 06: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: 652
    • View Profile
    • Mark's home
    • Donate to Member
Re: FORTRAN - All your problems will be solved.
« Reply #28 on: May 19, 2012, 06: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.c.../watch?v=LXynrhW7tKo

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
  • @Slartibartfarst
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: FORTRAN - All your problems will be solved.
« Reply #29 on: May 19, 2012, 08:36 PM »
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,022
    • View Profile
    • Donate to Member

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
  • @Slartibartfarst
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: FORTRAN - All your problems will be solved.
« Reply #31 on: May 24, 2012, 06:59 PM »
@Edvard: Thanks for the interesting links!