Help for this page

Select Code to Download


  1. or download this
    @rray = ( 'foo', 'bar', 'spam', 'eggs' );
    for ($calar=0; $calar < @rray; $[++) {
       print "$rray[$calar]";
    }
    
  2. or download this
    @rray = ( 'foo', 'bar', 'spam', 'eggs' );
    for ($calar=0; $calar < @rray; $[ = $[+1) {
       print "$rray[$calar]";
    }