First part of a line of code works? Not the second?
Posted: Thu May 19, 2016 2:14 pm
Hmmm.
Make a button and a field on a new card. Put this into the button script:
Now the keyword "in" ought to be "of". Everyone knows this. Though in HC "in" and "of", at least in this context, are synonyms.
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
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