[LON-CAPA-users] Using Advanced editor for sequences
lon-capa-users@mail.lon-capa.org
lon-capa-users@mail.lon-capa.org
Sun, 13 Apr 2008 19:16:12 -0400
<div>So, I need to always check the Blocking this link if false. OK, I can =
deal with that.<br><br>Do I only get one statement? For example, does the f=
ollowing work?<br><br>$a =3D 2;<br>$b =3D 4;<br>$a gt $b<br><br>For just ch=
ecking &EXT values I imagine a single (perhaps complicated) expression =
should be fine, but I can imagine wanting to do some logic first.<br><br>An=
d, where is Problem Grades? I'm sorry, I know I saw this once before, but I=
can't find it anywhere. I have looked in "Modify user grades for this reso=
urce", but it seems to want an actual student. I looked around in problem p=
arameters with no luck; I don't see anything in the Main Menu that sounds r=
ight:(<br><br>Thanks,<br>brew<br> </div><font color=3D"#990099">-----lon-ca=
pa-users-admin@mail.lon-capa.org wrote: -----<br><br></font><blockquote sty=
le=3D"border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left=
: 5px; margin-left: 5px; margin-right: 0px;">To: lon-capa-users@mail.lon-ca=
pa.org<br>From: Gerd Kortemeyer <korte@lite.msu.edu><br>Sent by: lon-=
capa-users-admin@mail.lon-capa.org<br>Date: 04/13/2008 06:33PM<br>Subject: =
Re: [LON-CAPA-users] Using Advanced editor for sequences<br><br><font face=
=3D"monospace" size=3D"3">Hi,<br><br>On Apr 13, 2008, at 4:36 PM, Robert=5F=
Brewington@er.monroe.edu wrote:<br>><br>> I am looking for examples o=
f sequences using branching logic within <br>> a sequence using th=
e Advanced Sequence editor. For example, if <br>> problem 1 has mo=
re than 2 tries, go to problem 2, otherwise go to <br>> problem 3.=
<br>><br>> I have managed to add a condition above a resource problem=
, but I <br>> don't know what any of the jargon means:<br>> &nb=
sp;- Recommendation if true<br>> - Blocking this link if false<br>=
> - Blocking other links if true<br><br>Actually, there is an open=
bug that all but "Blocking this link if <br>false" is defunct.<br><b=
r>> I was under the impression you could put various chunks of script &n=
bsp;<br>> code in there, but this sounds like I get one boolean expressi=
on.<br><br>Yes, only one boolean ... but that's enough to do what you want =
above.<br><br><br>> If there is documentation somewhere describing how t=
o use this <br>> editor, please point me to it! The help file just=
shows adding a <br>> resource to the map, basically the same as I=
can do in the simple <br>> editor. I don't see any mention of cod=
ing the conditions.<br><br><br>You would make use of the &EXT()-functio=
n. Others on this list have <br>done this, and someone might already =
have an example of your scenario <br>above.<br><br>><br>><br>&g=
t; Also - how do you test these sequences? If I go in as Course <br>&=
gt; Coordinator and try the problem, I cannot reset the randomization/ <br>=
> clear my answer and retry the problem. Once I have answered a <b=
r>> problem, it seems to be set in stone, even if I delete the sequence =
<br>> from the course and re-add it as a new resource. How do I cl=
ear my <br>> answer?<br><br>In Problem Grades you can clear the st=
atus of the problem.<br><br>><br>> Can I test the sequence from withi=
n the editor (as author for <br>> example)?<br><br>Nope.<br><br>&g=
t; It seems that I have to publish the sequence, delete the previous =
<br>> version from the course, and re-add the new version. Even then, it=
<br>> seems to still use the old version - yes, I did the course =
re- <br>> initialization button.<br><br>No, simply re-publishing the seq=
uence and then re-initializing the <br>course should do the trick. Yo=
u can also re-initialize your role on <br>the Roles screen, that does=
the same thing.<br><br>- Gerd.<br>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F<br>LON-CAPA-users mailing list<br>LON-CAPA-user=
s@mail.lon-capa.org<br><a href=3D"http://mail.lon-capa.org/mailman/listinfo=
/lon-capa-users">http://mail.lon-capa.org/mailman/listinfo/lon-capa-users</=
a><br></font></blockquote><br><BR>