- 14
- 0
- 约1.01万字
- 约 23页
- 2017-10-06 发布于河南
- 举报
审计脚本语言(Audit script language)
审计脚本语言(Audit script language)
1, audit script language introduction
The audit scripting language is based on PASCAL language to develop a programming language that turns into an auditors writing audit method. The main audit scripting language is a subset of PASCAL language, based on the database operation, the graphics output and a series of function expansion, its function is simple, clear, readable, the essential part of the general high-level language (such as: read, write, while-do, if-then, call, begin-end, array, process. Function assignment, etc.)
2, grammar rules
A) bound
The 1. variables, identifiers, functions, and process names are all beginning with the English alphabet. You can use English and numbers.
2. variables, identifiers, functions, and process names are insensitive to case size.
3., a procedure, variables, processes can not exceed 100.
4. digit maximum digit is 24 bits.
The 5. process is nested no more than 3 layers.
6. lines of code no more than 5000 characters
B) syntax rules
1. syntax rules approximate to the Pascal language.
2. any program that exceeds 1 lines requires the use of begin... The.End statement is bound to indicate where to begin and where to end.
3. each line uses a semicolon as the terminator.
4., the whole program to end. as the end
The 5. variable is defined before the begin of the main program.
6. assignment statement uses: = = operator
C) parameter scope
The procedure can refer to the local parameters defined by itself, as well as the local parameters of the outer process definition that surround it.
For example, in process P, you can use constants, C, D, and variables a defined outside of the procedure.
Const, c=10, d=100;
Var a;
Procedure p;
Begin
If a10 then
Write (C);
If a10 then
Write (D);
End;
Begin
Read (a);
Call p;
End.
(d) procedures for example (circle area calculation procedures)
Const p=3 / / constant specification
Var s, R; / / variable description
Begin / / the main body of the program start
Read (R)
您可能关注的文档
- 天门市住房公积金管理实施细则(Detailed rules for the implementation of the Tianmen housing provident fund management).doc
- 太仓市2009~2010学年第一学期期终考试试卷 初三化学(Taicang City, 2009 ~ 2010 year first semester final exam of Junior Chemistry).doc
- 太原市城市房屋拆迁管理办法(Measures for the administration of urban housing units in Taiyuan).doc
- 太和(Wo).doc
- 太宰治的《斜阳》与~族语探源(Taijae Ji's the sun and to the origin of language).doc
- 太祖的工业建设(The construction of the industrial Dynasty).doc
- 太阁立志传5 常用小攻略(II taikourisshiden 5 commonly used small.).doc
- 太阁立志传5修业小游戏之我见(II taikourisshiden 5 grand game I see).doc
- 太阳宝归纳太阳能渠道管理版唐伯虎点秋喷鼻(Sun Po summed up the solar channel management edition, Tang Tong point, autumn nose).doc
- 太阳神圆梦体系刮痧培训二(Sun god dream system scraping training two).doc
最近下载
- 2026年浙江档案职称考试(档案工作实务)历年参考题库含答案详解.docx VIP
- 南通佳宜有限公司办公楼建筑结构设计.docx
- 拼拼豆教程及图案汇总[已排版可直接打印].doc VIP
- 共情传播视角下的网络微短剧叙事分析.docx VIP
- 贵阳市2024届高三适应性考试(一)一模物理试卷(含答案).docx
- 高中物理运动和力的关系10道计算题专题.docx VIP
- 语言学及应用语言学专业硕士研究生培养方案﹙050102﹚.docx VIP
- 10以内加减混合填空题(30页).docx
- 三相四线电能表不接零线电量分析0516..doc VIP
- 2025年乡村医生招聘考试试题题及答案.docx VIP
原创力文档

文档评论(0)