Justtechjobs.com Find a programming school near you






Online Campus Both


php4-beta | 200004

Re: [PHP4BETA] A (Hopefully) simple question *gulp* From: David Robley (huntsman <email protected>)
Date: 04/27/00

On 28 Apr, Bradley wrote:
> Also, while I'm getting the gist of what you're saying, at the risk of
> sounding like an idiot I'd appreciate a little clarification on the
> following line:
>
>> display. Then, on each row, test the counter value mod 2. If the result
>
> "mod 2"? As in multiplied by 2? If so, I don't understand how a certain
> number would return 0. I think if you explain this bit to me I've already
> got the rest mapped out in my head.
>
> Cheers,
>
> Bradley

Sorry, that's a bit shorthand. I mean the modulus, which is the
leftover, or remainder after you divide the counter by two (counter
modulus 2). In this case, the leftover can only be 0 or 1. And before
you ask, the modulus operator is %

Cheers

-- 
David Robley                        | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet                            | http://auseinet.flinders.edu.au/
            Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>