"Command" vs "On" command
Posted: Mon May 21, 2018 9:33 pm
What's the difference between the following for creating custom commands ?
VS
Is is something to do with the message path ? The reason I ask is because my app was crashing occasionally when I was using "command" in a button script. I changed it to "on" and it seems much more stable ...
I still use "command" for custom commands in the card script. It doesn't seem to affect anything.
Can anyone clarify,
thanks,
Ricard
Code: Select all
command doSomething
-- code
end doSomething
Code: Select all
on doSomething
--code
end doSomething
I still use "command" for custom commands in the card script. It doesn't seem to affect anything.
Can anyone clarify,
thanks,
Ricard