After I've created row like this:
for ($r=0;$r < $N;$r++){ for ($c=0;$c < $N;$c++){ $row[$r][$c]=\$ary[$r*$N+$c]; }}
Is there a better alternative (method or notation) to this for de-reffing:
${$row[$r][$c]}
?
for ($r=0;$r < $N;$r++){ for ($c=0;$c < $N;$c++){ $row[$r][$c]=\$ary[$r*$N+$c]; }}
Is there a better alternative (method or notation) to this for de-reffing:
${$row[$r][$c]}
?
There are 9 comments on this entry. (Reply.)