lesson5
Contest Template
karlg@arsdigita.com
A sample specification file.
contestants
query
multirow
select
first_name, last_name
from
ad_template_sample_users
The contestants
first_name
The first name of the contestant.
last_name
The last name of the contestant.
winner
eval
onerow
set contestant_count [llength $contestants]
set winner_index [randomRange $contestant_count]
lindex $contestants $winner_index
This is the winner.
first_name
The first name of the winner.
last_name
The last name of the winner.