If I am correct, a command just acts on something. A command is given and is then followed. A function may do something too but it then actually returns a value. But, I am still not clear about the "on" keyword as in:
Code: Select all
on mouseUp
//do something here
end mouseUp
Somewhere, I saw code that used all caps for "COMMAND". I don't understand that unless it is just a personal preference. Is that correct? In another language that I used, many years ago, all caps were used for constants.
Thank you,
Linda