The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


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

RE: Eels


  • To: <ukha_d@xxxxxxx>
  • Subject: RE: Eels
  • From: "Ian Willoughby" <ian@xxxxxxx>
  • Date: Thu, 27 Sep 2001 17:12:20 +0100
  • Delivered-to: mailing list ukha_d@xxxxxxx
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

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;


:-)
Ian


-----Original Message-----
From: Stuart Grimshaw [mailto:stuart@xxxxxxx]
Sent: 27 September 2001 14:59
To: ukha_d@xxxxxxx
Subject: [ukha_d] Eels


I set the same question to a few of my mates, and one of them came back
with
these two:

Pascal : for iLoop := 0 to SizeOf(HoverCraft) then Hovercraft[iLoop] :=
Eel;
C : for(iLoop=0;iLoop++;iLoop<sizeof(HoverCraft)) HoverCraft[iLoop] =
Eel;

I bet none of the other office workers will have them :-)

--

Stuart Grimshaw <stuart@xxxxxxx>
Chief Operations Officer
Football Networks Ltd
-
t:07976 625221
f:0870 7060260


For more information: http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/






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.