节点文献

自定义汉字库在CAI程序中的应用

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 李洪涛

【机构】 哈尔滨工业大学

【摘要】 在编制CAI程序时为了能在以后运行时能显示出汉字令编程者颇伤脑筋。通常采用的方法有两种:一种是在汉字系统下运行CAI程序,另一种是为CAI程序配小汉字库,二者必取其一。考虑到Basic语言具有较好的群众基础,本文就用Basic语言编写CAI程序时如何为其配小汉字库的问题介绍一些思路和经验。本文就是通过编写一个程序,当其运行时对所写的CAI Basic源程序的每一个语句进行扫描。在扫描过程中,每当扫描到一个新的汉字,就从汉字库中把该汉字的字型提取出来并放人一个小的汉字库,同时修改源程序中汉字的代码,使之指向小汉字库中该汉字字型的首地址,直到扫描完成,形成小汉字库。这样的的CAI程序在英文DOS下运行也能显示汉字,从而更方便于CAI程序的运行。

【Abstract】 It’s not easy for one to write a CAI program which can display Chinese characters during running.There are only two ways.either the user run the CAI program under Chinese DOS,or the writer nake a Chinese lib for the CAI program.Since the BASIC is widely used.some ideas that how a Chinese lib for a BASIC program can be made were introduced.By writing a program and run the program.the CAI programs written in BASIC can be checked.if a Chinese character is found,its shape codes were extracted from the ordinary Chinese character Lib and put into a small Chinese character Lib.and the codes in the source program were also modified so that it pointed to the new address in the new Lib.When the scanning is finished.the small Chinese Lib is formed.With the small Chinese Lib,the CAI program can display Chinese characters just under english DOS.

  • 【会议录名称】 计算机与教育——全国计算机辅助教育学会第八届学术年会论文集
  • 【会议名称】全国计算机辅助教育学会第八届学术年会
  • 【会议时间】1997-11-10
  • 【会议地点】中国上海
  • 【分类号】TP311.11
  • 【主办单位】全国计算机辅助教育学会
节点文献中: 

本文链接的文献网络图示:

本文的引文网络