From: "Aldo Foot" <lunixer@xxxxxxxxx>
Sent: Friday, 2009/April/10 09:17
On Fri, Apr 10, 2009 at 8:07 AM, James Kosin <jkosin@xxxxxxxxxxxxxxxxxx>
wrote:
Tim wrote:
On Thu, 2009-04-09 at 21:55 +0100, psmith wrote:
the first ever program being
10 print "phil is cool"
20 goto 10
run
Blasphemer! Stone him, stone him, he used a GOTO! That word is
forbidden and must never be uttered... ;-)
Actually, GOTO was very heavily in BASIC programming language. There
was no idea of statement blocks back then.
It may be the only language at the time where it isn't considered taboo.
James
GOTO... Ahhhh.... the coolness of BASIC programming before the Modern
Computer Age. I had a friend that would use GOTO every few lines just
because it was fun to do.
Hewlett-Packard ATS (Automated Test Systems) BASIC had what must be the
ultimate GOTO. "GOTO 100 * n + 3000" or the equivalent for GOSUB was
legal, evaluated to a line number and would execute the GOTO to that
line number if it existed. It was a particularly rude switch statement.
It made adding a RENUMBER command to the BASIC somewhat of a bother to
say the least.
{^_^}
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines