[LON-CAPA-users] &EXT equivalent for for &check_status()

Todd Ruskell lon-capa-users@mail.lon-capa.org
Thu, 29 May 2008 22:14:06 -0600


I suspect you probably already know, generally, how to access &EXT()
functions for another resource, but in case you don't:  You can assign
an "alias" for the resource (paramter_0_mapalias).  Then your &EXT call
would look something like
&EXT('user.resource.resource.partID.solved','alias') I know this works
if the problems are in the same sequence, but not sure if they're not in
the same sequence.

I suspect that the real question is simply if there exists an &EXT()
equivalent of &check_status().  Unfortunately, I don't know the answer
to that.  I would think if you really wanted the numbers, you could
always write a simple wrapper function to convert those strings into
numbers :).


Ray Batchelor wrote:
> How would one specify &check_status() for a part in a different problem.
> I'm assuming here that one could use &EXT for this, but I don't know
> how to specify it.
> This would be different than &EXT('user.resource.resource.partID.solved')
> or &EXT('user.resource.resource.partID.award') in that it would return
> numbers 0,1,2,3 instead of string phrases "correct_by_student" etc.
> As described for &check_status() in the author manual.
> Thanks
> Ray
> -
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users

Dr. Todd Ruskell
Senior Lecturer, Department of Physics       Office:  Meyer Hall 326
Colorado School of Mines                     Phone: 303-384-2080
1523 Illinois Street                         Fax: 303-273-3919
Golden, CO 80401