Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #11200

Re: Weird bug

From "R.Wieser" <address@not.available>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: Weird bug
Date 2015-11-17 18:47 +0100
Organization Aioe.org NNTP Server
Message-ID <n2fp75$dti$1@speranza.aioe.org> (permalink)
References <n2d78f$639$1@dont-email.me> <n2esui$616$1@speranza.aioe.org> <n2fc8p$aal$1@dont-email.me> <n2fjn0$uu9$1@speranza.aioe.org> <n2fmfs$k1a$1@dont-email.me>

Show all headers | View raw


Mayayana,

>   Try my sample without the colons:
[snip]
>   It won't work.

You have not used *either* of the available methods to end a
command/equation and are complaining that it won't work ? Really ? :-D

And no, that you can either use a colon or a line-break between the "True"
and "Set" still does not mean they are the same (as I already tried to
explain).

Regards,
Rudy Wieser.


-- Origional message:
Mayayana <mayayana@invalid.nospam> schreef in berichtnieuws
n2fmfs$k1a$1@dont-email.me...
> | >   A colon acts as a line break.
> |
> | Nope, it does not.
>
>   Try my sample without the colons:
>
> Dim FSO Set FSO = CreateObject("Scripting.FileSystemObject")
FSO.DeleteFile
> "C:\windows\desktop\test.txt", True Set FSO = Nothing
>
>   It won't work. You'll get an error "Expected end of statement"
> before Set. That doesn't happen with the colons. I don't
> see why this should be so hard to explain. If/Then can have
> multiple actions assigned using colons. Colons are *also*
> valid carriage return characters. They're two entirely different
> functions. The problem comes when one of those lines
> contains If/Then, even if the syntax does not indicate
> multiple statements for execution. In that case it *should*
> be treated the same as if the code was on separate lines,
> but it isn't.
>
>

Back to microsoft.public.scripting.vbscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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