Solved

if then go to line #

Posted on 2004-09-22
2
212 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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…

746 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

13 Experts available now in Live!

Get 1:1 Help Now