[Linux-programlama] For döngüsü hakkında

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Ahmet (corsairsoft@hotmail.com)
Date: Wed 13 Sep 2006 - 15:39:36 GMT


Apache versiyon 2.0.59
PHP vesiyon 5.1.4

<?php
for ($i=0;$i==6;$i++)
{
echo $i;
}
?>

veya

<?php
for ($i=0;$i=6;$i++)
{
echo $i;
}
?>

bu döngülerde bir hatamı var ?

"==" karşılaştırması sonsuz döngüye giriyor
"=" karşılaştırması ise sonuç vermiyor

Kolay gelsin

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.