AMOSi:Resource$

From Amiga Coding
Revision as of 01:51, 17 November 2007 by Spellcoder (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns one of the messages from the current resource bank, for use by your AMOS program. If you haven't defined one of these banks, you'll be presented with the standard editor messages from the configuration file.


m$=Resource$(message)

It can also be used to get vital system information.


Message=0 returns the full pathname of the APSystem folder.


Message between 0 and -1000 returns Interpretor_Configuration system strings.


-1  to -9 : default file names
-10 to -36: all 26 extensions
-37 to -38: communication ports
-40:        default cursor flashing

Messages between -1000 and -2000 return Editor_Configuration system strings.


-2001 to -2044: diverse stuff used by the editor!


-2045 to -2049: editor system files