WeBWorK Main Forum

Formula in array or hash

Re: Formula in array or hash

by Gavin LaRose -
Number of replies: 0
Hi Zak,

I do things like this fairly regularly, so the answer should be "yes." You may run into trouble with localizing the answer in the loop, however; I've found in some cases localizing a variable in a PG file causes it to be unavailable to the executing environment.

Gavin