Can you give a more detailed description of how you want it to work. There are (as usual) many ways to do this.
Do you want 15 text input boxes for the 15 names then a button to select one name at random each time it is pressed....or do you want a randomised list of names to be produced...
or do you want a sequence number in a little text box next to the name?
I assume that each pupil can only be picked once???
Can I ask a question??

What happened to the days when the teacher just said "You boy!!!!! the one with red hair in the back row, what's the answer???"
the select and case method.....
you must use a SELECT before a CASE...they must be used together. You must have at least one case action under the select, but you can have as many as you wish
It's just a way of making a selection based on the value in a variable and it replaces having lots of 'IF' statements, but essentially--that's what it is
an example:
You want to grade a student based on their exam results
You have a variable called result which holds the exam result, the the SELECT variable would be RESULT
the CASE statement has a facility for setting a range of value to compare.
Select "RESULT"
CASE result=0 to 20
Grade=F
CASE result=21 to 40
Grade=E
CASE result=41 to 50
Grade=D
etc etc
Some of the old documentation is on-line
see
viewtopic.php?t=908
For select and case see
http://www.digitalworkshop.com/manuals/ProFeatures.pdf
Page 103, but you probably have read this already
Sandy