home *** CD-ROM | disk | FTP | other *** search
RISC OS BBC BASIC V Source | 1995-04-02 | 2.1 KB | 52 lines |
- Name: 011_Names
- Subject: Full module names.
- Author: GUS
- code%999
- p%=4
- O%=code%
- [opt p%
- J\_____________________________________________________________________
- .module_start%
- ? equd (module_end%-module_start%) <<8
- module_header_end%
- equs "WTmd"
- equd module_help%
- .module_header_end%
- I\____________________________________________________________________
- .module_help%
- > equs "1stL_Names" ; module name, no spaces allowed
- 4 equb 9 ; version separator(s)
- . equs "0.01" ; module version
- P equs " (" ; after module's version ends the module full name
- equs
- $,5,11) ; date
- equs ")" ;
- " ;[ (optionally, module help)
- !B equs " (c) Anonymous Computers Ltd." ; copyright holder
- "I equb 13 ; marks the end string for:
- #? ; *Help WTModules
- %J ;[ (optionally, more help...) ; the following is displayed
- &8 ; only on:
- 'C ; *Help <module name>
- (? equs "This module describes WT module's full name."
- equb 13
- *? equs "There is no limit how long can be this help."
- equb 13
- ,N equs "It is printed with SWI OS_PrettyPrint, using dictionary #0."
- equb 13
- .) equs "It is just an example!"
- ;]
- 26 equb 0 ; module help terminator
- ; result:
- ; *Help 1stL_Names
- 6$; ==> Help on keyword 1stL_Names
- 7R; WT module is; 1stL_Names 0.01 (06 Mar 1995) (c) Anonymous Computers Ltd.
- 82; This module describes WT module's full name.
- 92; There is no limit how long can be this help.
- :A; It is printed with SWI OS_PrettyPrint, using dictionary #0.
- ; It is just an example!
- .module_end%
- >I\____________________________________________________________________
- Save the module as: 1srL_Names
- "OS_File",10,"WTExamples:1st_Look.1stL_Names",&b6f,,code%,O%
-