[LON-CAPA-cvs] cvs: loncom /homework response.pm
albertel
lon-capa-cvs-allow@mail.lon-capa.org
Tue, 19 Jun 2007 19:34:19 -0000
albertel Tue Jun 19 15:34:19 2007 EDT
Modified files:
/loncom/homework response.pm
Log:
- update docs on getresponse
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.170 loncom/homework/response.pm:1.171
--- loncom/homework/response.pm:1.170 Thu May 31 11:30:35 2007
+++ loncom/homework/response.pm Tue Jun 19 15:34:18 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# various response type definitons response definition
#
-# $Id: response.pm,v 1.170 2007/05/31 15:30:35 albertel Exp $
+# $Id: response.pm,v 1.171 2007/06/19 19:34:18 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -852,8 +852,11 @@
converted to something usable.
Optional Arguments:
- $offset - if a problem has more than one bubble response, pass in the number
- of the bubble wanted
+ $offset - (defaults to 1) if a problem has more than one bubble
+ response, pass in the number of the bubble wanted, (the
+ first bubble associated with a problem has an offset of 1,
+ the second bubble is 2
+
$resulttype - undef -> a number between 0 and 25
'A is 1' -> a number between 1 and 26
'letter' -> a letter between 'A' and 'Z'