>here's how i would do it (coding styles aside):
>
>function MyClass()
>{
>    $limit = 100;
>
>    $i = -1;
>    while(++$i < $limit)
>    {
>        $this->myArray[] = $i;
>    }
>}

Don't forget poor old range:

        $this->myArray = range(0, 99);

---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca            http://mike.teczno.com/contact.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to