AMOSi:Err$

From Amiga Coding
Jump to: navigation, search

an example can be found on AMOSPro_Tutorial:Tutorials/Error_Handling_2.AMOS


Returns a string containing the chosen error message. If the error number is out of range, =ERR$() will return an empty string "" instead.


s$=ERR$(Error_Number)

Note: =ERR$() will only return a string if the error messages are actually loaded in memory.