summaryrefslogtreecommitdiff
path: root/reference/C/SYNTAX/goto.html
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2008-01-27 11:37:44 +0100
committerTobias Klauser <tklauser@xenon.tklauser.home>2008-01-27 11:37:44 +0100
commit7e0f021a9aec35fd8e6725e87e3313b101d26f5e (patch)
treeb1cacc4b24393f517aeb4610e9e1021f954307a8 /reference/C/SYNTAX/goto.html
Initial import (2.0.2-6)2.0.2-6
Diffstat (limited to 'reference/C/SYNTAX/goto.html')
-rw-r--r--reference/C/SYNTAX/goto.html59
1 files changed, 59 insertions, 0 deletions
diff --git a/reference/C/SYNTAX/goto.html b/reference/C/SYNTAX/goto.html
new file mode 100644
index 0000000..156534a
--- /dev/null
+++ b/reference/C/SYNTAX/goto.html
@@ -0,0 +1,59 @@
+<title>The GOTO keyword.</title>
+<head>
+<script language="JavaScript">
+</script>
+</head>
+<body bgcolor="#ffffcc">
+<hr>
+<center>
+<h1>The GOTO keyword.</h1>
+</center>
+<hr>
+Well, I have resisted adding <b>goto</b> for a whole year. But tonight
+I have had a couple of beers and
+I am ready to go for it. It must be said
+that most programmers will claim that
+<b>goto</b> is never required and I dont have reason to disagree, but
+you may like to differ.
+
+<h2>goto syntax</h2>
+
+<pre>
+ goto lab1;
+
+ lab1:
+</pre>
+goto allows the program to 'jump' to a named label, in this case <b>lab1</b>,
+the target label MUST be terminated with a : (colon).
+
+
+<hr>
+<h2>An Example.</h2>
+<a href="../EXAMPLES/goto.c"><img src="../../GRAPHICS/computer.gif"></a>
+goto example.
+
+<p>
+
+<hr>
+<p>
+<center>
+<table border=2 width="80%" bgcolor="ivory">
+<tr align=center>
+<td width="25%">
+<a href="../cref.html"> Top</a>
+</td><td width="25%">
+<a href="../master_index.html"> Master Index</a>
+</td><td width="25%">
+<a href="keywords.html"> Keywords</a>
+</td><td width="25%">
+<a href="../FUNCTIONS/funcref.htm"> Functions</a>
+</td>
+</tr>
+</table>
+</center>
+<p>
+<hr>
+<address>Martin Leslie
+</address><p>
+</body>
+</html>