home *** CD-ROM | disk | FTP | other *** search
RISC OS BBC BASIC V Source | 1994-04-29 | 643 b | 20 lines |
- !FindHelp - Make Help$Msgs point to Help's messages file
- First look for <Help$Start> which indicates that the RISC OS 3.5 help file is present,
- then check for Resources:$.Resources.Help.Messages
- *UnSet Help$Msgs
- &HelpMsg$ = "<Help$Start>.Messages"
- FileOk(HelpMsg$)
- SetVar("Help$Msgs", HelpMsg$) :
- 4HelpMsg$ = "Resources:$.Resources.Help.Messages"
- FileOk(HelpMsg$)
- SetVar("Help$Msgs", HelpMsg$) :
- FileOk(name$)
- type%, p%
- "XOS_File", 17, name$
- type%; p%
- = (p%
- 1) = 0
- type% = 1
- SetVar(var$, val$)
- "Set "+var$+" """+val$+""""
-