Welcome to the forum Modfox,
you would want to move the code above the mouseUp below the mouseUp, that is it.
Code: Select all
on mouseUp
put any character of "abcdef1234567890" into trand
put trand into field "testing"
end mouseUp
please put field names into quotes. It works without but it is a source of future trouble hard to track down.
In Rev you almost everything happens inside a handler, that is a structure that starts with "on myCommand" or "function myFunction" and ends with "end NameOfHandler"
Outside of a handler you only declare global variables, script local variables, constants. I think that is it for outside of handler code.
Keep asking if you get stuck.
regards
Bernd