From: Conor Daly (conor.daly at domain met.ie)
Date: Fri 25 May 2001 - 15:42:05 IST
On Fri, May 25, 2001 at 11:16:01AM +0100 or thereabouts, Philip Reynolds wrote:
> Conor Daly's [conor.daly at domain met.ie] 46 lines of wisdom included:
> > 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;
>
> a = b = c = d = -999;
Thanks to three who gave me that. I knew that one already but I have about
33 each of int, float and short to deal with here and it would have been
nice to do them all in one swell foop (sorry, "fell swoop" there).
Conor.
-- Conor Daly Met Eireann, Glasnevin Hill, Dublin 9, Ireland Ph +353 1 8064276 Fax +353 1 8064275 ------------------------------------ 2:40pm up 1 day, 1:43, 9 users, load average: 0.04, 0.01, 0.00
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:28 GMT