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

Ray Batchelor lon-capa-users@mail.lon-capa.org
Fri, 30 May 2008 00:23:43 -0700

Hi Todd,
  Yes, your experience seems to corroborate my own.
I did simply want to find out if there existed an "incantation" for
check_status to be used with &EXT().
I realize that I can interpret the different strings returned by
'solved' or 'award' but thought perhaps we could benefit from learning
about any undocumented "incantations" corresponding to some of the
perl script functions described in the Author Manual (like
I'm not inclined to keep on reinventing the wheel if it already exists.


On Thu, May 29, 2008 at 9:14 PM, Todd Ruskell <truskell@mines.edu> wrote:
> Ray,
> 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 :).
> Todd