Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

if then go to line #

Posted on 2004-09-22
2
Medium Priority
?
223 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 1000 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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 …
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

886 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