Ron Hinds wrote on 07 jun 2006 in
microsoft.public.inetserver.asp.general:
Although InterDev syntax highlights GoTo as a keyword, it isn't
supported in VBScript. I'm wondering if anyone has a clever workaround
for this limitation? TIA!
It is not a limitation.
Goto gives terrible programming:
<
http://www.rug.nl/rc/organisatie/pictogram/archief/2002-
05/afbeeldingen/fortran.jpg>
Prof. Edsger Wybe Dijkstra said 1968 that the "goto" syntax was the
killer of higher languages, meaning any higher than primitive assembler.
<
http://en.wikipedia.org/wiki/Edsger_Dijkstra>
<
http://david.tribble.com/text/goto.html>
<
http://www.cs.utexas.edu/users/EWD/>
Modularity later became the buzzword.
VB/VBS never implemented "goto", and I agree, it was the savior act of
BASIC.
Goto makes a computer language a untestable mess. It prevents the
cascading black boxes that can be separately tested and reused. It
prohibits efficient compiling.
Small remnants of goto, that are usefull can be felt in:
exit function
exit for
efficient because they do not hinder modularity.
================
on error goto 0
is a remnant of
on error goto 200
[all goto-s ponted to line numbers at first,
when line labeling was not invented]