摘要
本文通过对系统中菜单结构的分析,认为系统中的菜单作为一种树结构,其定义也是递归的。因此,可以用一段程序统管系统中任意一级的荣单。而菜单项内容作为系统中固有的显示信息,是系统的特定数据。菜单驱功程序只是对这部分信息进行屏幕的幅面安排及实现其选择。这样,所谓菜单驱动程序只是一种简单的数据处理。在此基础上,用类似管程的设计思想,绘出能随时求助的下拉式菜单程序流程以及实现它的若干技术措施。
Through analysing the menn structure of system,this paper considers its definition is induced,regarding the system menus as atree struc- ture.Thus,it is possible a piece of program manages any level of menus in general.And the contents of menu items are specific data of system,which display inherent information of some system.The driving-menu program only arrenges screen width about this part of information and implements its choice.According to this,the paper presents the flowchart,which can help you whenever,of down-drawing menu by using the design idea of management prociss,and also gives several technical ways.
出处
《交通与计算机》
1991年第2期52-57,67,共7页
Computer and Communications