SetReferenceInfo()

Summary

Toggles showing the reference information when calling GetLastError().

Changes

Added to Version 5.0.

Syntax

SetReferenceInfo(boolean ref_info_flag)

Argument Contents
ref_info_flag "True" to show the reference information when calling GetLastError(), else "False"

Notes

  • The Reference Info option of GetLastError() must be "True" to toggle whether to show the reference information.

Example

SetReferenceInfo("False")
on error do
ShowMessage(GetLastError({{"Reference Info", "True"}}))
Return()
end
CreateBuffers(...)
on error default

See Also

Function Summary
GetLastError() Gets the text of the last error generated by Maptitude