Tutorial: Set variables to things other than constant values

Bug #492453 reported by Nick Chadwick
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IVLE
Triaged
Medium
Unassigned

Bug Description

Submitted by Bernie Pope:

It would be nice to be able to set variables to things other than
constant values.

For example, I would really like to be able to do this in an exercise:

<include>
<![CDATA[
import random
]]>
</include>

<case name='foobar'>
...
<var name='position' value='random.randrange(0,40)'></var>
...
</case>

At present this does not seem to work, and I don't know why.

William Grant (wgrant)
tags: added: worksheets
William Grant (wgrant)
tags: added: feature
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.