Solved

if then go to line #

Posted on 2004-09-22
2
216 Views
Last Modified: 2010-04-06
can I put a command in an if then statement that forces the program to skip ahead to a certain line?

if [comparision = true] then
    goto line [whatever]
end if
0
Comment
Question by:kellybelly
2 Comments
 
LVL 49

Accepted Solution

by:
Roonaan earned 250 total points
ID: 12126394
Which language?

But probably you'd better do:

If [comparision = false] then
  execute lines you'd otherwise wouldn't
end if

regards

-r-
0
 

Author Comment

by:kellybelly
ID: 12126410
duh - man that's what you get for thinking too much.  OMG I feel so stupid!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When you work with shopping cart / ecommerce relates web sites, you need to pass the certain form post details to the payment gateway process page with required details for the products items you give to order. Also you may need to track the ordered…
Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now