中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-15 03:45
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS软件下载 & 游戏分享 (下载室) » [Original] Free “Upgrade” for CCED5.0
Printable Version  2,087 / 0
Floor1 MYS Posted 2003-03-10 00:00
元老会员 Posts 1,637 Credits 5,170 From 广东佛山
Free “Upgrade” for CCED5.0

Later versions of CCED5.0 added many useful functions, but for various reasons you may still be using CCED5.0. However, if you could “upgrade” it without spending money, would you like that? As long as you can find the "electronic edition" of CCED5.03 or later, you can do it.
1. Let CCED5.0 hook more fonts. The fonts CCED5.0 can find by itself are limited; for example, it cannot find the fonts of UCDOS5.0/6.0. I discovered that the font interface programs in the electronic edition of CCED5.03 are completely suitable for CCED5.0. Copy the font interface programs in the ZKJK directory of CCED5.03 to C:\CCED\ZKJK, then replace the 5.0 version of CCEDLT.EXE with the 5.03 version of CCEDLT.EXE, then run CCEDLT, choose "1", and everything is OK.
2. Add manuscript-paper printing to CCED5.0. CCED5.18 added a practical manuscript-paper printing function. After copying over the related files CCEDGZ.EXE, CCEDGZB.BAT, and PMENU.EXE, I found that they could only be used from the command line, which was not convenient enough. Comparing the CCED50.PRO files of the two versions, it turned out that CCED5.0 does not have the 3% variable (meaning the current file). That is easy to handle—just use an intermediate file. Add one line in the section of CCED50.PRO:
def C-KG ='CCEDTMP.$$$^M^M''CCEDGZB CCEDTMP.$$$^M^M'
'CCEDGZ.TMP^M' {|} @:generate manuscript-paper print
Note that the above content must be only one line. Its steps are: first save the current file, then save a copy named CCEDTMP.$$$, next call CCEDGZB.BAT to process CCEDTMP.$$$, and finally load the manuscript-paper format file CCEDGZ.TMP that it generates. If you do not have the CCED50.PRO file, first choose "Reset CCED" in the menu, choose 3, then choose G, then choose F. It is recommended that you create a virtual disk and place the intermediate file on the virtual disk for better results.
3. Add HP hardware-font printing to CCED5.0. If you use an HP laser printer, copy over CCEDHP.BAT, PMENU.EXE, and CCEDPCL.EXE from CCED5.03 or 5.18, and add one line in the section of CCED50.PRO:
def A-HP ='CCEDTMP.$$$^M^M''CCEDHP CCEDTMP.$$$
^M^M' {|} @:HP font printing
4. Add tools to CCED5.0. Just copy over CCEDFC.EXE, CCEDFOX.EXE, TODBF.EXE, and TD.EXE from other versions and they can be used.
5. Using CCED50.PRO, you can make CCED better suit your needs. For example:
1. Quickly enter control codes. As a teacher, underlines are indispensable when making exam papers, so add:
def A-F11 ='bold underline''>32^M''underline end'
'=32^M^M' {k} @:define underline and find next space
def A-F12 ='>32^M^M''=32^M^M' {k}
@:find the starting position of the next underline
After defining these two key combinations, when defining underlines there is no longer any need to move the cursor back and forth repeatedly and enter control codes again and again, and it also reduces errors.
2. If you often need plain text files, add one line
def C-KT ='A' {|} @:save plain text and quit
3. Manage user-defined phrases. UCDOS's user-defined phrase function is the author's favorite; to manage user-defined phrases more conveniently, add one line
def C-UC ='c:\ucdos\ucdos.usr^M' {|} @:edit user-defined phrases
4. To do even better, the author likes to use CCED's table function to manage students' grades. It is very convenient for calculating total scores, average scores, and ranking order. But the author often needs to count the number of people in each score range for a single subject, as well as pass rate, excellence rate, and so on. In CCED you have to count them slowly. For this reason the author wrote a small program. As long as you enter all the scores for one subject into a file, it can calculate all the results at one time. Of course, it is even more convenient to hook it into CCED. Put this small program into the CCED directory, then add one line in CCED50.PRO:
def A-TC ='if exist CCEDTMP.$$$ del CCEDTMP.$$$^M^M'
=ON 'CCEDTMP.$$$^M''tcalc5
CCEDTMP.$$$ ^M^M' {|} @:score statistics in a rectangular block
The above steps are: save the current file, then test whether CCEDTMP.$$$ already exists; if it does, delete it; load the empty CCEDTMP.$$$, copy the contents of the rectangular block into it, then save CCEDTMP.$$$, quit, and call the self-written program TCALC5.EXE to calculate the scores in CCEDTMP.$$$.
When using it, as long as you define all the scores of one subject in the table as a rectangular block, then press +TC once, you can easily get the results you need.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023