Solved

if then go to line #

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Build and evolve an interactive experience 1 96
CSS (line height?) issue 2 69
How do the JavaScript &&  !== operators work together? 3 62
Problem to file 3 82
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…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn how to count occurrences of each item in an array.

856 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