actually the loop is like this (my mistake) : lock screen repeat 20000 times -- do a lot of things unlock screen put myVar into fld "myVar" lock screen end repeat but the problem remains. jbv