Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
Values returned:
return
keyword during the execution of a messageempty
if most commands succeed; otherwise, a message stringIn handlers, it’s usually best to test a command with an expression such as
That way, the handler doesn’t rely on the specific value of a string.
Click Related Topics for more information about the value returned by the result
for each command.
on resultDemo
find "Pat, Jim, Eric, and Eli" in bkgnd field "title"
answer "Pat, Jim, Eric, Eli:" && the result
go to card "Pat, Jim, Eric, and Eli"
answer "Pat, Jim, Eric, and Eli:" && the result
end resultDemo