- 3
- 0
- 约 24页
- 2017-06-05 发布于河南
- 举报
审计脚本语言(国外英文资料)
审计脚本语言
Introduction of the audit scripting language
The audit scripting language is based on the PASCAL language foundation to develop a programming language that turns into an auditors writing audit method. Audit scripting language main body is PASCAL language subset, on the basis of the database operation, output chart and a series of function extension, its function is simple, the structure is clear, readable, have an essential part of the general high-level language (such as: read, write, while to-do, if-then, call, begin and end, array, process, function, assignment statements, etc.)
Grammar rules
A) constraint
The names of variables, identifiers, functions, and process names begin with the English letter, which can be used in English and numerals.
The variables, identifiers, functions, and process names are case-insensitive.
There are no more than 100 variables in a program.
The largest number is 24.
The process has no more than three floors.
A one-liner is not more than 5,000 characters
B) grammar rules
The grammar rules are similar to the Pascal language.
Any program that has more than one line should begin using begin... The.end statement is bound to indicate where it started and where it ended.
Each line program ends with a semicolon.
The whole program ends with end
Variables are defined before the begin of the main program.
The assignment statement is used: = the operator
C) parameter scope
The process can refer to a local parameter that is defined by itself, or it can reference local parameters that surround it.
For example: in process p, you can use the constant c, d, and variable that are defined outside the process.
Const c = 10, d = 100;
Var a;
Procedure p;
The begin
If a 10 then
Write (c);
If a 10 then
Write (d);
The end;
The begin
Read (a);
Call p;
The end.
D) program example (the circular area calculator)
Const p = 3 / / constant explanation
Var s, r; / / the variable declaration section
Begin the begin / / program body
Read (r); / / r
您可能关注的文档
最近下载
- 明代宗教信仰与思想控制.docx VIP
- 江苏省南通市2024-2025学年高二上学期期末学业质量监测语文试卷(含答案).pdf VIP
- 国就有成人演出的电影了?想看就要冒生命危险.pdf VIP
- 综合素质练习题及答案.doc VIP
- 2020-2021学年北京高三化学二轮复习 反应原理型简答题(突破二卷)(word版 含答案).docx VIP
- 电力拖动控制线路安装与检修(白银矿冶职业技术学院)知到智慧树答案.docx VIP
- 煤炭巷道掘砌工(高级工)资格考试题库(全真题库).docx VIP
- 影像叙事中情感共鸣生成机制.docx VIP
- 同轴二级圆柱齿轮减速器的设计(硬齿面).doc VIP
- 基于GPU多线程多通道图像高速重构方法、设备及介质.pdf VIP
原创力文档

文档评论(0)