blockquote>VB (pre dotNet anyway) doesnt have a return statement, and normally relies on goto on err type logic for exception handling.

I don't know VB but I find this very surprising; 25 years ago my good ol' Microsoft MSX BASIC 1.0 had subs (that you'd call with GOSUB) and RETURN statements. Of course you couldn't name the subs, you had to rely upon line numbers :)

10 CLS 20 INPUT "choose a number", A$ 30 IF A$>10 GOSUB 100 40 if A$<5 GOSUB 100 50 PRINT "you typed ", A$ 60 END 99 REM the following 2 lines are a subroutine! 100 PRINT "you must enter a number between 5 and 10" 110 RETURN

Wow, I couldn't imagine I remembered that sh*t so well, should have been 20 years :)


In reply to Re^2: Paid for crap by wazoox
in thread Paid for crap by holli

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.