|
|||||||||||||||||||||||||||
sslug@sslug wrote:
> Er der nogen som kender en funktion hvor man kan finde ud
> af om en variabel er lige eller ulige f.eks.
if ($counter & 1) ..
x & 1 = 0 hvis x er lige
1 hvis x er ulige
--
No matter how fast light travels it finds *
the darkness has always got there first, * Carsten Svaneborg
and is waiting for it. * zqex at risoe.dk
-- (Terry Pratchett, Reaper Man) *
|
||||||||||||||
|
||||||||||||||