Given:
int a, b, c, d;
float g, h, i, j;
a=-999;
b=-999;
c=-999;
d=-999;
g=-999.9;
h=-999.9;
i=-999.9;
j=-999.9;
can I do something like
int {a, b, c, d} =-999;
float {g, h, i, j} =-999.9;
I kinda thought I'd seen something like this somewhere but I don't have the
book with me just now.
Thinking in ansi c of course, portability is a priority (not because this'll
be running on lots of different machines (it won't) but because we don't
want to have to go through a bazillion proggies that someone else wrote 15
years ago fixing stuff when we upgrade to a new box / OS (Of course, at that
stage, we'll probably need to rewrite the embedded SQL anyhow!))
Conor
BTW, anyone know how near Ingres are to a linux sql client or preprocessor?
--
Conor Daly
Met Eireann, Glasnevin Hill, Dublin 9, Ireland
Ph +353 1 8064276 Fax +353 1 8064275
------------------------------------
9:56am up 20:59, 9 users, load average: 0.05, 0.01, 0.00
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!