...go ahead and read the manual, we won't tell anyone.

Help Topics > All Functions > Result
Not Tagged

The result function returns an explanatory text string if an immediately preceding close, file, convert, create stack, find, go, import paint, export paint, open file, picture, read or save command was unsuccerssful.

Usage:

the result
result()

Example:

if the result is not empty then answer "Try again."