Re: equivalent of perl "next" command
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
just for the record since this is an old post.
for i = 1 to 5
if i=3 then i = 4
wscript.echo i
next
regards,
rusga
On Thu, 16 Feb 2006 03:05:47 -0000, sneaky <sneaky@xxxxxxxxxxxxx> wrote:
Greetings,
in perl the "next" command skips the remainder of the current loop
iteration
& goes to the next iteration. What is the VBscript equivalent of this?
Example
For i = 1 to 5
IF i=3 Then
<perl next command>
End If
Wscript.Echo i
Next
would print out
1
2
4
5
Thanks
.
Relevant Pages
- equivalent of perl "next" command
... in perl the "next" command skips the remainder of the current loop iteration ... What is the VBscript equivalent of this? ... (microsoft.public.scripting.vbscript) - Re: Wait for background processes to complete
... To be able to execute commands in the background and wait for their ... The documentation I am referring to is http://perldoc.perl.org/. ... You can run a command in the background with: ... There is a general problem with perl documentation: ... (comp.lang.perl.misc) - Re: Perl For Amateur Computer Programmers
... >professional computer programmers could use with the same ease as Basic. ... >Perl For Amateur Computer Programmers ... Also, taking into account that you're appealing to "scientists", it ... Also, as a side note, you seem to use the noun "command" in a naive ... (comp.lang.perl.misc) - Obtaining complete Unix command line that evoked script as string
... If there is a more appropriate list for this, let me know; the other perl lists I've seen seem to specialised for this. ... Note this is not just the arguments of the call to the script, but everything including pipes and redirects, etc., e.g. ... Ideally the perl interpreter would grab the complete command line as its evoked and I'd access this via a variable. ... (perl.beginners) - Thanks for the comments Jan. 25, 2006
... "shadow" operating system which is running behind Windows. ... Perl can then collect data from that program and do ... that by sending longer strings etc. to the Windows clipboard and then having ... SendKeysuse a Ctrl V command to paste the information to the text editor ... (comp.lang.perl.misc) |
|