Return()

Summary

Returns from a called macro or dialog box.

Syntax

Return(value)

Argument Contents
value The value returned by the macro or dialog box. If omitted, the macro or dialog box returns null.

Notes

  • When called anywhere within a dialog box, Return() terminates the execution of the dialog box and closes its window.

  • When called within a toolbox or toolbar, Return() closes the toolbox or toolbar.

  • The returned value can be of any type, including integer, string, real number, or array.

See Also

Function Summary
RunMacro() Runs a macro
RunDbox() Runs a dialog box or opens a toolbox or toolbar