--- loncom/homework/response.pm 2007/05/31 15:30:35 1.170 +++ loncom/homework/response.pm 2007/06/19 19:34:18 1.171 @@ -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 @@ Returns either the exact text of the sub 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'