home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User 2
/
AUCD2.iso
/
internet
/
acornet.spk
/
!Acornet
/
Utils
/
!NetConfig
/
Docs
/
Msg
< prev
next >
Wrap
Text File
|
1995-06-11
|
861b
|
28 lines
The msg module provides fairly simple message lookup facility.
Summary:
PROCmsg_load(file$) Load a message file
FNmsg(key$) Look up a message, return "" if not found
FNmsgd(key$,default$) Look up a message, return default if not found
Each line of
a message file is of the form
<key>:<value>
where <key> can be any text, but is conventionally two tokens separated by a
dot. A typical use is in the interactive help supplied by the dlg module,
which uses entries of the form:
<windowname>.<gadgetname>:<help text>
though I haven't actually provided any help texts in the alpha version of
!NetConfig.
Multiple message files may be loaded. The most recently loaded file is
searched first, so you can override standard messages by loading another file
later.
Because it's implemented in BASIC, the maximum line length allowed is 255
characters.