搜索资源列表
Pascal语法配对检测
- 说明: 对给定一个Pascal源文件,检查其中 (1)begin与end (2)if,then,else 是否合法配对。 对于begin与end,可以理解为C语言中的“{”与“}” 对于if,then,else,可以这么理解:if与then合在一起相当于C语言中的if, else与C语言中的else完全相同。((Given a Pascal source file, to check which (1) begin and end (2) if, then, else the legalit