Subj : Re: Opinion on Pascal
To   : Jagossel
From : Chris
Date : Wed Jun 07 2017 11:25 pm

 Re: Re: Opinion on Pascal
 By: Jagossel to Mortifis on Sat May 27 2017 10:29 pm

>   Re: Re: Opinion on Pascal
>   By: Mortifis to jagossel on Sat May 27 2017 12:14:00
>
>  >  > Granted I was pretty guilty of using GOTO when I programmed for fun on
>  >  > TRS-80 CoCo as a kid.
>  >
>  > Did you RETURN?
>
> Did I GOTO using RETURNs?  :D  See what I did there?
>
> As a kid, I used GOTO a lot and never really understood the point of GOSUBS.
> Now, after being a professional software developer for over 10 years, and
> going through the Usborne programming books from the 1980s that they put onl
> for viewing (thanks to Nostalgia Nerd for providing the link to them in his
> video description on YouTube), I am finally beginning to see the vaule of
> GOSUB/RETURN: provides reusability in a structured programming paradigm, if
> done right.  So, it would make sense that BASIC could move from being a
> structured paradigm to a procedural one fairly easily.  Now-a-days, BASIC ha
> become more object oriented (e.g. Visual Basic).
>
> -jag
> Code it, Script it, Automate it!
>


I remember gosub basically being the 'less evil' goto. It was a more structured
way of calling subroutines. I can't remember if it was used in Basic09 or if it
was more a DECB/Gwbasic invention.

------------------------------------------------------------------
CDP
The Diamond Mine BBS - telnet://bbs.dmine.net
The Retro Room - http://forums.delphiforums.com/retroroom
------------------------------------------------------------------

---
� Synchronet � Diamond Mine Online - bbs.dmine.net - Fredericksburg, VA USA