Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.scripting.vbscript > #11201
| Newsgroups | microsoft.public.scripting.vbscript |
|---|---|
| Subject | Re: inline "End If" bug, was Re: Weird bug |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | (1 earlier) <n2esui$616$1@speranza.aioe.org> <n2fc8p$aal$1@dont-email.me> <n2fjn0$uu9$1@speranza.aioe.org> <XnsA555B3EE5C6F5eejj99@194.109.6.166> <n2fo1m$aqd$1@speranza.aioe.org> |
| Date | 2015-11-17 19:37 +0100 |
| Message-ID | <XnsA555C799E3BFDeejj99@194.109.6.166> (permalink) |
"R.Wieser" <address@not.available> wrote on 17 Nov 2015 in microsoft.public.scripting.vbscript: >> Correct is: >> >> If boolean Then statement Else statement > > Nope. Its just how quite a few (but definitly not all!) languages have > defined it. It does not mean its the *only way* anyone may implement > it in his language. > > I know of languages which use your above description and work as > Mayayana described (continuing after a "then" if no "else" is found, or > after the first command after the "else"). I am not interested in "other languages" here, only in the developement of this: Beginners All-purpose Symbolic Instruction Code. Seen in the light of other languages, Basic was as bad as Edsger Wybe Dijkstra promised it to be, IMO: "BASIC programmers are mentally mutilated beyond hope of regeneration" said Edsger Wybe Dijkstra in How do we tell truths that might hurt? (1975-06-18) [In fact our Edsger was primarily fighting a language that did everything with GoTo, no subroutines, no functions, so no modularity or black box testing, just making a unresolvable knot of even the smallest logical construct. And no possibility to sensibly name variables other than by a single Capital letter plus a number. Referring to his 1975 words however is a joy in itself] ========================= In principio [in the beginning] there was only: If boolean GoTo linenumber then came: If boolean Then statement and then: If boolean Then statement Else statement after that the multiline If was introduced: If boolean Then statement Else statement End If The multiline "ElseIf" addition even later. The "End If" was never, formally or otherwise planned, introduced in the older single line If, it only was discovered in this NG and recognised as a bug by MS. > > Ofcourse, several of those languages have "command grouping" [snip] -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar
Weird bug "Mayayana" <mayayana@invalid.nospam> - 2015-11-16 13:28 -0500
Re: Weird bug "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-11-16 19:50 +0100
Re: Weird bug "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2015-11-16 15:28 -0500
Re: Weird bug "Mayayana" <mayayana@invalid.nospam> - 2015-11-16 16:13 -0500
Re: Weird bug "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-11-16 22:57 +0100
Re: Weird bug "Mayayana" <mayayana@invalid.nospam> - 2015-11-16 18:10 -0500
Re: Weird bug "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-11-17 01:20 +0100
Re: Weird bug "Mayayana" <mayayana@invalid.nospam> - 2015-11-16 21:11 -0500
Re: Weird bug "R.Wieser" <address@not.available> - 2015-11-17 10:44 +0100
Re: Weird bug "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-11-17 11:19 +0100
Re: Weird bug "R.Wieser" <address@not.available> - 2015-11-17 11:31 +0100
Re: Weird bug "Mayayana" <mayayana@invalid.nospam> - 2015-11-17 09:06 -0500
Re: Weird bug "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-11-17 15:24 +0100
Re: Weird bug "Mayayana" <mayayana@invalid.nospam> - 2015-11-17 10:35 -0500
Re: Weird bug "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-11-17 16:45 +0100
Re: Weird bug "R.Wieser" <address@not.available> - 2015-11-17 17:13 +0100
inline "End If" bug, was Re: Weird bug "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-11-17 17:41 +0100
Re: inline "End If" bug, was Re: Weird bug "R.Wieser" <address@not.available> - 2015-11-17 18:27 +0100
Re: inline "End If" bug, was Re: Weird bug "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-11-17 19:37 +0100
Edsger Wybe Dijkstra was: Re: inline "End If" bug, was Re: Weird bug "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-11-17 19:44 +0100
Re: inline "End If" bug, was Re: Weird bug "R.Wieser" <address@not.available> - 2015-11-17 20:47 +0100
Re: Weird bug "Mayayana" <mayayana@invalid.nospam> - 2015-11-17 12:01 -0500
Re: Weird bug "R.Wieser" <address@not.available> - 2015-11-17 18:47 +0100
Re: Weird bug "R. Roesler" <worm.composter@nospam.arcornews.de> - 2015-11-19 13:12 +0100
csiph-web