I was trying to rewrite an existing problem so that it would use one of a list of values, but when I save and try to run it a message states that I need a certain package?
What package do I need to include at the beginning of the problem so that I can use the list_random{} ?
Anneke
Hi Anneke,
list_random
should be in the default path, unless you took the basic macros out of the loadMacros
call. The call should be with parentheses, not squiggly brackets:
list_random( 'item1', 'item2' );
Is there any chance that's the problem? If not, post problem set and problem information and we can look to see what's going on.
Gavin
Yup, that was the problem Gavin.
Thanks
Anneke
Thanks
Anneke