I notice that in a function definition, one can have
multiple statements on one line, with a comma as the
separator between statements.
However, outside of a function, when I try either a
comma or a semi-colon to separate multiple statements
on one line, they are considered errors.
So, how does one do multiple statements on one line?
---
Fred J. Tydeman Tydeman Consulting
[log in to unmask] Testing, numerics, programming
+1 (775) 358-9748 Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.
|