diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2008-01-27 11:37:44 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2008-01-27 11:37:44 +0100 |
commit | 7e0f021a9aec35fd8e6725e87e3313b101d26f5e (patch) | |
tree | b1cacc4b24393f517aeb4610e9e1021f954307a8 /reference/C/SYNTAX/syntax.html |
Initial import (2.0.2-6)2.0.2-6
Diffstat (limited to 'reference/C/SYNTAX/syntax.html')
-rw-r--r-- | reference/C/SYNTAX/syntax.html | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/reference/C/SYNTAX/syntax.html b/reference/C/SYNTAX/syntax.html new file mode 100644 index 0000000..7dcfce4 --- /dev/null +++ b/reference/C/SYNTAX/syntax.html @@ -0,0 +1,135 @@ +<html> +<head> +<title>C Syntax</title> +<script language="JavaScript"> + +agent = navigator.userAgent + +browserVer = 2 + +if (agent.indexOf("a/3",6) == -1) +{ + browserVer = 2 +} +else +{ + browserVer = 1 +} +if (agent.indexOf("a/3",6) == -1) +{ + browserVer = 2 +} +else +{ + browserVer = 1 +} + +if (browserVer == 1) +{ + Active = new Image(26,14); + Active.src = "../../GRAPHICS/redball.gif" + NotActive = new Image(26,14); + NotActive.src = "../../GRAPHICS/whiteball.gif" +} + +// ................................................................... + +function Blob(Href, Name, Str) +{ + Text = "<img src=../../GRAPHICS/whiteball.gif width=26 height=14 alt=\"o\" name=\"" + Name + "\">"; + Text += "<a href=\"" + Href + "\" onmouseover=\"HiLite('" + Name + "', 'Active')\""; + Text += " onmouseout=\"HiLite('" + Name + "', 'NotActive')\">" + Str + "</a>"; + + document.write(Text); +} + +// ................................................................... + +function HiLite(imgDocID, NewImage) +{ + if (browserVer == 1) + { + document.images[imgDocID].src = eval(NewImage + ".src") + } +} + +</script> +</head> +<body bgcolor="#ffffcc"> +<hr> +<center> +<img src="../../GRAPHICS/syntax.gif" alt="Syntax"> +</center> +<hr> +<p> +The following items highlight the main areas of C syntax. +<p> +<hr> +<font size=-1> +If nothing appears below this line, +<a href=syntax_p.html>click on low tech links.</a> +</font> +<hr> +<dl> +<dt><script>Blob("keywords.html", "A", " C Keywords.");</script> +<dt><script>Blob("../../CPLUSPLUS/SYNTAX/keywords.html","B", " C++ Keywords.");</script> +<dt><script>Blob("comments.html", "C", " Comments.");</script> +<dt><script>Blob("../CONCEPT/constants.html", "D", " Constants.");</script> +<dt><script>Blob("../CONCEPT/expressions.html", "E", " Expressions/Operators.");</script> +<dt><script>Blob("../CONCEPT/precedence.html", "F", " Operator Precedence.");</script> +<dt><script>Blob("statements.html", "G", " Statements and blocks.");</script> +<p> + +<dt><script>Blob("glo_int_vars.html", "H", " Global and local variable declaration.");</script> +<dt><script>Blob("../CONCEPT/data_types.html", "I", " Variable declaration - data types.");</script> +<dt><script>Blob("../CONCEPT/type_conv.html", "J", " Data type conversion.");</script> +<dt><script>Blob("../CONCEPT/storage_class.html", "K", " Variable declaration - Storage Class.");</script> +<dt><script>Blob("../CONCEPT/cast.html", "L", " cast.");</script> +<dt><script>Blob("../CONCEPT/true_false.html", "M", " TRUE and FALSE.");</script> +<p> + +<dt><script>Blob("../CONCEPT/arrays.html", "N", " Arrays.");</script> +<dt><script>Blob("../CONCEPT/pointers.html", "O", " Pointers.");</script> +<dt><script>Blob("struct.html", "P", " Structures.");</script> +<dt><script>Blob("../MISC/linklists.html", "Q", " Linklists.");</script> +<p> + +<dt><script>Blob("../CONCEPT/bitwise.html", "R", " Bitwise operations.");</script> +<p> + +<dt><script>Blob("preprocessors.html", "S", " Preprocessors.");</script> +<dt><script>Blob("macros.html", "T", " Macros.");</script> +<p> + +<dt><script>Blob("idioms.html", "U", " Idioms.");</script> +<p> +<dt><script>Blob("functions.html", "V", " Functions - passing and returning arguments.");</script> +<dt><script>Blob("../FUNCTIONS/funcref.htm", "W", " Function Quick Reference.");</script> + +</dl> + +<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> |