summaryrefslogtreecommitdiff
path: root/reference/C/SYNTAX/comma.html
diff options
context:
space:
mode:
Diffstat (limited to 'reference/C/SYNTAX/comma.html')
-rw-r--r--reference/C/SYNTAX/comma.html60
1 files changed, 60 insertions, 0 deletions
diff --git a/reference/C/SYNTAX/comma.html b/reference/C/SYNTAX/comma.html
new file mode 100644
index 0000000..fad68e6
--- /dev/null
+++ b/reference/C/SYNTAX/comma.html
@@ -0,0 +1,60 @@
+<title>The COMMA.</title>
+<head>
+<script language="JavaScript">
+</script>
+</head>
+<body bgcolor="#ffffcc">
+<hr>
+<center><h1>The COMMA.</h1></center>
+<hr>
+The comma has two uses. The most comman, is as a parameter seperator
+for <a href="../CONCEPT/data_types.html">data types</a> and
+<a href="functions.html">function</a> parameter lists.
+Here is an example:
+<pre>
+ main()
+ {
+ char String1[20], String2[]="Outback Pub"; /* <a href="../CONCEPT/data_types.html">data types</a> */
+ strncpy(String1, string2, 7);
+ }
+</pre>
+The other use is as a <b>series operator</b> which can be seen in use with
+the <a href="for.html">for</a> keyword. An example of the syntax is shown
+in the link below.
+
+<hr>
+<h2>Examples:</h2>
+
+<img src="../../GRAPHICS/computer.gif">
+<a href="../EXAMPLES/for2.c">Example of the <b>series operator</b></a>.
+
+<hr>
+<h2>See also:</h2>
+
+Nothing else to see :-(
+
+<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