Dyalog uses number to represent errors. Those errors are accessible via ⎕EN. However, when one want to specify an error with a :Trap or a ⎕TRAP statement then one must use integers.
Although a seasoned programmer will over time memorize the most important error numbers, the unusual ones will escape her.
There is a better solution to this: use symbolic names which are effectively constants (strictly speaking read-only variables) carrying the integer. That's that the EventCode class is for: it offers symbolic names for all trappable events up to and including version 15.0.
EventCodes.DEADLOCK 1008 EventCodes.GetName 1008 DEADLOCK EventCodes.List'T' TIMEOUT 1006 TRANSLATION_ERROR 92 TRAP_ERROR 84 ⍴EventCodes.List'' 53 2
For bug reports, future enhancements and a full version history see EventCodes/ProjectPage
Using an APLTree member
- If you just want to consume (use) an APLTree member then you have several choices:
Download it from its dedicated download page http://download.aplwiki.com/
Access it via FTP: ftp://ftp.aplwiki.com/APLTree/ with the user ID "anonymous". There is no password needed.
- Note that accessing it via ftp allows you to download older versions as well while the dedicated download page offers just the most current version.
If you want to contribute to an APLTree project see HowToContributeToTheAPLTreeProject for details.
Get the full project
If for some reason you need access to, say, the test cases then you need to get more then just the script (or application) itself.
HowToContributeToTheAPLTreeProject explains how to get a project onto your local machine. Just ignore any additional steps.