Solved

if then go to line #

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Simple PHP - search by location postcode/zip code 8 33
How to I "stripe" columns using XSLT 3 46
Best way to find duplicate message in database 7 31
React or Angular? 6 71
There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
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 …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to dynamically set the form action using jQuery.

816 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

9 Experts available now in Live!

Get 1:1 Help Now