Discussion:
............................................................
(too old to reply)
Nicholas Randall Forystek
2016-07-12 06:40:17 UTC
Permalink
...........................................................
Gloops
2016-07-14 16:01:25 UTC
Permalink
Post by Nicholas Randall Forystek
...........................................................
For N = 1 to 60
WScript.StdOut.Write "."
Next
JJ
2016-07-15 01:36:57 UTC
Permalink
Post by Gloops
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"
Gloops
2016-07-18 21:08:44 UTC
Permalink
Post by JJ
Post by Gloops
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.
Dave "Crash" Dummy
2016-07-19 02:45:56 UTC
Permalink
Post by Gloops
Post by JJ
Post by Gloops
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.
Gloops
2016-07-19 11:41:05 UTC
Permalink
Post by Dave "Crash" Dummy
Post by Gloops
Post by JJ
Post by Gloops
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
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, ""."")"
Loading...