Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

RE: How do I branch in PowerShell? i.e. goto label?

Closed Thread
 
Thread Tools Display Modes
Old 01-20-2008   #1 (permalink)
RichS
Guest


 

RE: How do I branch in PowerShell? i.e. goto label?

PowerShell doesn't have a GOTO statement.

if you want to use GOTO to call a subroutine then use a PowerShell function

if you want to loop then use one of the looping constructions for, do, while
as appropriate

if you want to post your code showing how you are trying to use goto we can
give you the PowerShell equivalent
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk


"Bob" wrote:
Quote:

> How do I branch in PowerShell? i.e. goto label?
>
> --
> Thanks,
> Bob
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista IE7 cannot goto Yahoo Billy Ng Vista General 4 07-10-2008 03:01 AM
ClickOnce & branch of versions Joe .NET General 1 03-24-2008 12:44 AM
Re: How do I branch in PowerShell? i.e. goto label? Hal Rottenberg PowerShell 4 02-22-2008 01:15 PM
License label Tony Vista General 1 07-06-2007 12:00 AM
Microsoft and Citrix Expand Partnership to Improve Application Access and Address Branch Office Complexity z3r010 Vista News 0 08-23-2006 07:19 AM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50