Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need 'goto'

Status
Not open for further replies.

famtek

Instructor
Mar 27, 2007
67
US
If need a conditional stattement that seems like

if a = 1 the goto xxx

xxx

if this is possible, what is the proper form. thanks.
 
OOOHHHH NOO, you never need to use any type of GOTO ever. Your program can be written such that it doesn't need it.

Many times to simulate a GOTO, you can put your code into a function and call the function, when you need to GOTO it.

[monkey][snake] <.
 
Perhaps you could show us an example of your code where your trying to do this? I have written quite a bit of VBScript in the past and have never foudn a situation where I truly needed a goto. it's possible that with an example we can show a better or different way to approach the problem.

-T

Best MS KB Ever:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top