[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: K-fest for oz?
On Apr 16, 2:16 pm, mdj <mdj....@gmail.com> wrote:
> On Apr 16, 1:19 am, "Peter Watson" <paw77@N_O_hotmail_S_P_A_M.com>
> wrote:
>
> > OK, so we have to assume less than 256 attendees! :-)
> > Or a 65816...
>
> (cond ((zerop busy) (setq attendees (add 1 attendees))))
yewww...Prolog...that takes me back to 1st year Comp Sci.... never
used it before then, and never used it since ;-)
#!/bin/ksh
attendees=`currentNumberAttending`
busy=`busyDuringPeriod --startdate 24/06/2009 --enddate 26/06/2009`
if [ ! $busy ] then
attendees=`expr $attendees + 1`
fi
BTW, my shell scripting is getting rusty, so forgive any errors. :-)
Cheers,
Mike