I tried it and it ran, so it seems to be syntactically correct. I suspect that you knew that, and were wondering about a slightly deeper problem.
Since I've no clue as to what level of wrongness you're concerned with, I am left to wonder why why would you want to do it that way, vs using array syntax?. This would save having to have code such as
$a494141 = exp(( 4.0*atan(1.0) * sqrt(-1)));
emc
"Being forced to write comments actually improves code, because it is easier to fix a crock than to explain it. "In reply to Re: for loop help
by swampyankee
in thread for loop help
by rhxk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |