in reply to Re: Re: while (scalar()
in thread while (scalar()
it makes no sense. It is wrong.
As to see what makes sense:
scalar(@ra) counts the elements of array @ra.
while ( scalar( @ra ) ) does a while condition around the counting. In this case, you would normally just leave out the counting and write while ( @ra )
Anyway, there needs to be a { } block as to which the while condition belongs. It is missing, that's an error I can't make any sense of.
Sören
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: while (scalar()
by Roy Johnson (Monsignor) on Mar 12, 2004 at 22:33 UTC |