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


Groups > microsoft.public.scripting.vbscript > #11333 > unrolled thread

Re: ............................................................

Started byGloops <gloops@zailes.invalid.org.invalid>
First post2016-07-14 18:01 +0200
Last post2016-07-19 13:41 +0200
Articles 5 — 3 participants

Back to article view | Back to microsoft.public.scripting.vbscript

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: ............................................................ Gloops <gloops@zailes.invalid.org.invalid> - 2016-07-14 18:01 +0200
    Re: ............................................................ JJ <jj4public@vfemail.net> - 2016-07-15 08:36 +0700
      Re: ............................................................ Gloops <gloops@zailes.invalid.org.invalid> - 2016-07-18 23:08 +0200
        Re: ............................................................ "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2016-07-18 22:45 -0400
          Re: ............................................................ Gloops <gloops@zailes.invalid.org.invalid> - 2016-07-19 13:41 +0200

#11333 — Re: ............................................................

FromGloops <gloops@zailes.invalid.org.invalid>
Date2016-07-14 18:01 +0200
SubjectRe: ............................................................
Message-ID<nm8d0q$o27$1@usenet.pasdenom.info>
Le 12/07/2016 à 08:40, Nicholas Randall Forystek a écrit :
> ...........................................................
>

For N = 1 to 60
   WScript.StdOut.Write "."
Next

[toc] | [next] | [standalone]


#11335

FromJJ <jj4public@vfemail.net>
Date2016-07-15 08:36 +0700
Message-ID<cxf5t9ka163t$.1ghx9kx9cdw3.dlg@40tude.net>
In reply to#11333
On Thu, 14 Jul 2016 18:01:25 +0200, Gloops wrote:
> 
> For N = 1 to 60
>    WScript.StdOut.Write "."
> Next

WScript.StdOut.Write "For N = 1 to 60"
WScript.StdOut.Write "   WScript.StdOut.Write ""."""
WScript.StdOut.Write "Next"

[toc] | [prev] | [next] | [standalone]


#11338

FromGloops <gloops@zailes.invalid.org.invalid>
Date2016-07-18 23:08 +0200
Message-ID<nmjggt$oln$1@usenet.pasdenom.info>
In reply to#11335
Le 15/07/2016 à 03:36, JJ a écrit :
> On Thu, 14 Jul 2016 18:01:25 +0200, Gloops wrote:
>>
>> For N = 1 to 60
>>    WScript.StdOut.Write "."
>> Next
>
> WScript.StdOut.Write "For N = 1 to 60"
> WScript.StdOut.Write "   WScript.StdOut.Write ""."""
> WScript.StdOut.Write "Next"
>

I am afraid you did not give it a try, otherwise you would have used 
WriteLine instead of Write.

[toc] | [prev] | [next] | [standalone]


#11339

From"Dave \"Crash\" Dummy" <invalid@invalid.invalid>
Date2016-07-18 22:45 -0400
Message-ID<nmk495$p21$1@dont-email.me>
In reply to#11338
Gloops wrote:
> Le 15/07/2016 à 03:36, JJ a écrit :
>> On Thu, 14 Jul 2016 18:01:25 +0200, Gloops wrote:
>>>
>>> For N = 1 to 60
>>>    WScript.StdOut.Write "."
>>> Next
>>
>> WScript.StdOut.Write "For N = 1 to 60"
>> WScript.StdOut.Write "   WScript.StdOut.Write ""."""
>> WScript.StdOut.Write "Next"
>>
> 
> I am afraid you did not give it a try, otherwise you would have used 
> WriteLine instead of Write.

WriteLine would add a newline character to each execution. If you want
to use WriteLine you'd want to eliminate the loop and do it this way:

WScript.StdOut.WriteLine String(60,".")

-- 
Crash

When it comes to texting, some people are all thumbs.

[toc] | [prev] | [next] | [standalone]


#11340

FromGloops <gloops@zailes.invalid.org.invalid>
Date2016-07-19 13:41 +0200
Message-ID<nml3ki$qo2$1@usenet.pasdenom.info>
In reply to#11339
Le 19/07/2016 à 04:45, Dave "Crash" Dummy a écrit :
> Gloops wrote:
>> Le 15/07/2016 à 03:36, JJ a écrit :
>>> On Thu, 14 Jul 2016 18:01:25 +0200, Gloops wrote:
>>>>
>>>> For N = 1 to 60
>>>>    WScript.StdOut.Write "."
>>>> Next
>>>
>>> WScript.StdOut.Write "For N = 1 to 60"
>>> WScript.StdOut.Write "   WScript.StdOut.Write ""."""
>>> WScript.StdOut.Write "Next"
>>>
>>
>> I am afraid you did not give it a try, otherwise you would have used
>> WriteLine instead of Write.
>
> WriteLine would add a newline character to each execution. If you want
> to use WriteLine you'd want to eliminate the loop and do it this way:
>
> WScript.StdOut.WriteLine String(60,".")
>

That is also an (elegant) possibility for my part, and JJ's code would 
then have become :

WScript.StdOut.WriteLine "WScript.StdOut.WriteLine String(60, ""."")"

[toc] | [prev] | [standalone]


Back to top | Article view | microsoft.public.scripting.vbscript


csiph-web