Thanks for the report -- that was my stupid mistake, sorry about that. Does the (actually simpler)
<defaults>
/ screencolor = white
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 0)
/ txcolor = black
/ inputdevice = keyboard
</defaults>
<data>
/file = "LM_testing.iqdat"
/separatefiles = true
/ columns = [date time subject stimulus trialcode trialnum blockcode blocknum values.d1itemnumber]
</data>
<values>
/ d1itemnumber = 0
</values>
<text digit1>
/ items = letters
/ select = values.d1itemnumber
/ txcolor = black
</text>
<item letters>
/1 = "A"
/2 = "B"
/3 = "C"
/4 = "D"
/5 = "E"
/6 = "F"
/7 = "G"
/8 = "H"
</item>
<list itemlist>
/ items = (1,2,3,4,5,6,7,8)
/ selectionmode = random
/ replace = false
/ not = (values.d1itemnumber)</list>
<trial letter1>
/ ontrialbegin = [values.d1itemnumber=list.itemlist.nextvalue]
/ stimulustimes = [1=digit1]
/ timeout = 100
/ posttrialpause = 0
</trial>
<block sequence5>
/ onblockbegin = [list.itemlist.reset();]
/ trials = [1-5=letter1]
</block>
<expt>
/ blocks = [1-15=sequence5]
</expt>
do the trick?