home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 2 / AUCD2.iso / internet / acornet.spk / !Acornet / Utils / !NetConfig / Docs / Msg < prev    next >
Text File  |  1995-06-11  |  861b  |  28 lines

  1. The msg module provides fairly simple message lookup facility.
  2.  
  3. Summary:
  4.   PROCmsg_load(file$)        Load a message file
  5.   FNmsg(key$)            Look up a message, return "" if not found
  6.   FNmsgd(key$,default$)        Look up a message, return default if not found
  7.  
  8. Each line of
  9. a message file is of the form
  10.  
  11. <key>:<value>
  12.  
  13. where <key> can be any text, but is conventionally two tokens separated by a
  14. dot.  A typical use is in the interactive help supplied by the dlg module,
  15. which uses entries of the form:
  16.  
  17. <windowname>.<gadgetname>:<help text>
  18.  
  19. though I haven't actually provided any help texts in the alpha version of
  20. !NetConfig.
  21.  
  22. Multiple message files may be loaded.  The most recently loaded file is
  23. searched first, so you can override standard messages by loading another file
  24. later.
  25.  
  26. Because it's implemented in BASIC, the maximum line length allowed is 255
  27. characters.
  28.