Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.scripting.vbscript > #11181
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "Mayayana" <mayayana@invalid.nospam> |
| Newsgroups | microsoft.public.scripting.vbscript |
| Subject | Weird bug |
| Date | Mon, 16 Nov 2015 13:28:56 -0500 |
| Organization | A noiseless patient Spider |
| Lines | 27 |
| Message-ID | <n2d78f$639$1@dont-email.me> (permalink) |
| Injection-Date | Mon, 16 Nov 2015 18:28:32 -0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="2812916613235ab26e91983c64a7d10e"; logging-data="6249"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rdfC5EjqvL5evYS/NgX+A38SX472VHJw=" |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.5512 |
| X-Priority | 3 |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5512 |
| X-MSMail-Priority | Normal |
| Cancel-Lock | sha1:noRPdgokGKPbpIFJgp1zm4Nmsm0= |
| Xref | csiph.com microsoft.public.scripting.vbscript:11181 |
Show key headers only | View raw
I just wasted hours before discovering this: x = -18 x = x + 9: If x > 10 Then x = 10: If x < 0 Then x = 0 MsgBox x ' Returns -9, but, this works: x = -18 x = x + 9: If x < 0 Then x = 0 MsgBox x Why? Is only one colon allowed? I've never noticed that problem before. It works fine in VB6.
Back to microsoft.public.scripting.vbscript | Previous | Next — 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