Function:
a. 4-line title
b. 16 main menu items (prompt information can be set)
c. Each main menu item can set 12 single-choice or check-box sub-items (that is, sub-menus)
d. 4-line endnote
e. When there are too many menu items, it automatically pages, and each page can display 96 non-repeating Chinese characters in the menu
(including title and endnote, etc., up to 150 non-repeating Chinese characters on the same screen)
f. A new function including configuration blocks is added: rem include=blockname
g. A new function to automatically generate single-choice item variables is added: set option=neme
h. The color value range is expanded to 0 ~ 31 (maximum value is 63)
i. The Chinese small character library can be automatically generated as needed
Definition:
device=Confect.sys /m a:\dos\hzk16 Load Confect driver, create small character library, load specified Chinese character library
SET PATH=a:\;a:\dos;C:\;..;
rem (Start mark of Confect)
set alHead=6 Title indentation (in characters)
set align=10,1 Menu indentation, line spacing 0 or 1
set alNote=6 Prompt or endnote indentation
set shortcut=a,1 Shortcut keys for menu main items and sub-items (if this item is empty, shortcut keys will not be displayed)
set color=7,1,9,9 Character color, menu background color, sub-item background color, prompt information background color (color number 0~31)
set default=1,30,8 Default menu item, default waiting time (seconds), 9-point or 8-point character (default is 9)
set heading=text Menu header title
set endnote=text Endnote description
set confect=name_a,text;note Block name corresponding to main item, menu title, menu description
set option=neme_a1,text;@ Sub-item corresponding block name, sub-item title; single-choice mark @ or check-box mark &
rem Block
...... Configuration
rem Block
rem include=name_xxx Include configuration of block name_xxx!!! New function !!!
...... Configuration
rem Block
...... Configuration
rem (End mark of Confect)
...... Public configuration
Annotation:
a. If all sub-items corresponding to the main item do not set the default mark, it is defaulted that the sub-items under the main item are check-boxes. If you need the sub-items under the main item to be single-choice without default items, use a instead of @ as the mark after any sub-item under the main item.
b. The created small character library is confect.dot, saved in the root directory.
c. The default display character of Confect is 9-point, which can be set as 8-point character clock.
[ Last edited by sanchuan on 2009-1-12 at 15:25 ]
三川一笑