{"identifier":62431,"topic":"Functions","name":"result","text":"<code><pre>the result  \n<\/pre><\/code> Values returned:  <br><br>\n\n \u2022 the value set by a<code> return <\/code>keyword     during the execution of  a message <br><br>\n\n \u2022 <code>empty <\/code>if most<code> <\/code>commands succeed;      otherwise, a message string <br>\n<br>\nIn handlers, it\u2019s usually best to test a command with an expression such as <code><pre>\nif the result is not empty then ...\n<\/pre><\/code>\nThat way, the handler doesn\u2019t rely on the specific value of a string. <br><br>\n\n Click Related Topics for more information about the value returned by<code> the result <\/code>for each command. <br>\n","related":{"30026":"answer","31208":"ask","33535":"convert","34045":"create","36906":"export paint","37172":"find","25888":"function","38981":"go","72855":"icon","40224":"import paint","26982":"on","41778":"open","42410":"open printing","42512":"open report printing","44420":"print","28715":"return","46772":"save"},"examples":"go card \"ZZ\" \nif the result is not empty then ... -- didn't go there\n\nfind \"XZZ\" in field \"Title\"\nif the result is not empty then ... -- didn't find it","demo":"<code><pre>on resultDemo\n  find \"Pat, Jim, Eric, and Eli\" in bkgnd field \"title\"\n  answer \"Pat, Jim, Eric, Eli:\" && the <b>result<\/b>\n  go to card \"Pat, Jim, Eric, and Eli\"\n  answer \"Pat, Jim, Eric, and Eli:\" && the <b>result<\/b>\nend resultDemo<\/pre><\/code>\n ","debug":{"9":["the result  \r\rValues"],"10":["In handlers, it\u2019s "]}}