[LON-CAPA-users] Spreadsheet syntax question

Guy Albertelli II lon-capa-users@mail.lon-capa.org
Tue, 12 Jun 2007 17:56:37 -0400 (EDT)


Hi Brew,

The short answer is 

either

 [&EXPANDSUM(PART;("stores_PART_solved" =~ /incorrect_attempted/? -22 : $points{stores_PART_tries}))];

or

 [&EXPANDSUM(PART;(eval("stores_PART_solved") eq 'incorrect_attempted'? -22 : $points{stores_PART_tries}))];

will work.



-- 
guy@albertelli.com   0-7-0-9-27,137