On Tue, Apr 17, 2001 at 02:01:14PM -0700, James Fisher wrote:

> the array starts at 0 not 1
  ^^^^^^^^^

There is no array in the code given (but there probably should be).


> you should realy look at foreach instead
> 
> 
> Pacifico wrote:
> 
> > i have this program:
> >
> > $sup1='a';
> > $sup2='b';
> > $sup3='c';
> >
> > for ($i=1 ; $i<4 ;$i++){
> >     print $sup($i);
> > }
> >
> > but give error, why???
> 
> 

-- 
    Tad McClellan                          SGML consulting
    [EMAIL PROTECTED]                   Perl programming
    Fort Worth, Texas

Reply via email to