summaryrefslogtreecommitdiff
path: root/reference/C/SYNTAX/syntax.html
blob: 7dcfce4d0fae2dc7f86b4e342de2d100f08cb506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
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>