Make a button and a field on a new card. Put this into the button script:
Code: Select all
on mouseUp
put random(999) into fld 1 in cd 1
end mouseUp
But I find it interesting that a new random number is placed into the field before the line of code throws an error.
Is this just how LC works. one word at a time?
Craig Newman