The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Blackberry


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eels


  • To: ukha_d@xxxxxxx
  • Subject: Re: Eels
  • From: "Mark Hetherington" <mark.egroups@xxxxxxx>
  • Date: Thu, 27 Sep 2001 16:27:05 -0000
  • Delivered-to: mailing list ukha_d@xxxxxxx
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

--- In ukha_d@y..., "Ian Willoughby" <ian@i...> wrote:
> Just being a pendent but the C one is wrong, should be:-
>
> for(iLoop=0;iLoop<sizeof(HoverCraft);iLoop++) HoverCraft[iLoop] =
Eel;
>
> or if you are a C purist and want to make it unreadable:-
>
> for(i=0;i<sizeof(HoverCraft);) HoverCraft[i++] = Eel;

nah, far too obvious...

for(p=&Hovercraft;p<&Hovercraft[sizeof(Hovercraft)];*p++ = Eel);

Mark.



Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.