《APPLE PILOT程式语言 电脑辅助教学语言》PDF下载

  • 购买积分:11 如何计算积分?
  • 作  者:徐俊荣,林寿华编译
  • 出 版 社:全华科技图书股份有限公司
  • 出版年份:1974
  • ISBN:
  • 页数:293 页
图书介绍:

第一部份 MINI PILOT 2

1.前言 2

2.与前版的比较 2

3.MINI-PILOTⅢ的特性 2

4.执行程式时的指令 7

第二部份 E-Z PILOT 12

1.前言 12

2.如何使用E-Z PILOT 12

3.如何使用E-Z PILOT的AUTHOR 13

4.参考事项 19

5.E-Z PILOT的指令 21

6.E-Z PILOT的特殊指令 30

第三部份 SMITH PILOT 36

1.PILOT指令 36

2.Type,Accept与Match 38

3.长课程 40

4.显示文字(T:)指令引申用途 42

5.接受(A:)指令引申用途 42

6.比对(M:)指令的引申用途 44

7.联接(L:)指令 44

8.使用者(U:)指令 44

9.BASIC(B:)指令 45

10.布林代数(X:)指令 46

11.跳跃(J:)指令引申用途 47

12.绘图指令 49

13.音效(S:)指令 50

14.结论 50

第四部份 APPLE PILOT 55

第一章 PILOT语言概论 55

1.1 何谓PILOT?(What is Pilot?) 55

1.2 PILOT简介(Introduction) 55

1.3 指令的正确格式(Correct Form for Instructions) 59

1.4 指令的构成要件(The Parts of an Instructions) 61

1.4-1 标记(labels) 61

1.4-2 没有标记的目的地(unlabeled destinations) 63

1.4-3 指令名称(instruction-name) 64

1-4-4 修正事项(modifiers) 66

1.4-5 条件事项(conditioners) 68

1.4-6 数式事项(expressions) 78

1.4-7 冒号(the colon) 80

1.4-8 具有连续作用的冒号(the continuation-colon) 80

1.4-9 受令(the object) 82

1.4-10 变数(variables) 83

1.4-11 回车键(RETURN) 84

1.5 一般性的资料(General Information) 84

1.5-1 大写字母及小写字母(upper and lower case letters) 84

1.5-2 指令的长度(instruction length) 84

1.5-3 空行(blank lines) 85

1.6 跑一课程式(Running a Programmed Lesson) 85

1.6-1 在书写程式状态下测试程式(testing in author mode) 85

1.6-3 执行时的指令(execution-time commands) 86

1.6-2 在课程状态下跑程式(running in lesson mode) 86

第二章 文字指令 89

2.1 附注指令(R:Remark) 89

2.2 文字显示指令(T:Type) 90

2.2-1 在课程编辑程式下的T指令(in the lesson text editor) 90

2.2-2 在学生萤幕上的T指令(on the student's screen) 91

2.2-3 文字窗(the text window) 93

2.2-4 变数(variables) 94

2.2-5 修正事项(modifiers) 96

2.2-6 范例(example) 98

3.1 问题指令(PR:Problem) 101

3.1-1 控制性选择(the control options) 101

第三章 回答指令 101

3.1-2 修改回答的选择(response-editing options) 102

3.1-3 答题时间的选择(response-timing option) 102

3.1-4 执行时的指令选择(execution-time command options) 103

3.1-5 去除标记的选择(wipe-labels option) 103

3.1-6 程式写作注意事项(programming notes) 104

3.1-7 范例(example) 104

3.2 接受指令(A:Accept) 105

3.2-1 计时答题(response timing) 106

3.2-2 修改回答(response editing) 107

3.2-3 回答计次(answer counting) 108

3.2-4 变数(variables) 109

3.2-5 修正事项(modifiers) 112

3.2-7 范例(example) 113

3.2-6 程式写作注意事项(programming notes) 113

3.3 比对指令(M:Match) 115

3.3-1 控制性字元(controller characters) 116

3.3-2 修改比对文词和答案(editing of match text and responses) 117

3.3-3 修正事项(modifiers) 117

3.3-4 程式写作注意事项(programming notes) 119

3.3-5 范例(example) 119

第四章 控制指令 124

4.1 跳跃指令(J:Jump) 124

4.1-1 没有标记的目的地(unlabeled destinations) 124

4.1-2 程式写作注意事项(programming notes) 124

4.1-3 范例(example) 125

4.2 使用指令(U:Use) 126

4.2-1 没有标记的目的地(unlabeled destinations) 127

4.2-2 程式写作注意事项(programming notes) 128

4.2-3 范例(example) 128

4.3 结束指令(E:End) 131

4.3-1 没有标记的目的地(unlabeled destinations) 132

4.3-2 程式写作注意事项(programming notes) 133

4.3-3 范例(example) 134

4.4 联接指令(L:Link) 134

4.4-1 修正事项(modifiers) 135

4.4-2 程式写作注意事项(programming notes) 135

4.4-3 范例(example) 136

4.5 间接执行指令(XI:Execute Indirect) 138

4.5-1 范例(example) 139

4.6 等候指令(W:Wait) 141

4.6-1 程式写作注意事项(programming notes) 142

4.6-2 范例(example) 142

第五章 运算指令 145

5.1 设定次元指令(D:Dimension) 145

5.1-1 字串变数(string variables) 145

5.1-2 数字阵列变数(numeric array variables) 146

5.1-3 程式写作须知(programming notes) 147

5.1-4 范例(example) 148

5.2 运算指令(C:Compute) 149

5.2-1 以计算赋予数值(using compute for assignment) 150

5.2-2 范例(example) 153

5.2-3 使用运算指令编写字串(using compute for string-editing) 157

5.2-4 范例(example) 159

第六章 特殊效果指令 163

6.1 绘图指令(G:Graphics) 163

6.1-1 绘图指令(graphics commands) 163

6.1-2 撰写绘图指令(writing graphics instructions) 165

6.1-3 PILOT绘图幕(PILOT graphics screen 167

6.1-4 AppleⅡ高解析度图案显示幕 167

6.1-5 文字幕(text screen) 168

6.1-6 文字与绘图游标(text and graphics cursors) 169

6.1-7 颜色(color) 171

6.1-8 修正事项(modifiers) 172

6.1-9 范例(example) 173

6.2 执行图案档案指令(GX:Execute Graphics File) 174

6.2-2 快速绘图图案档(quick-draw graphics files) 175

6.2-1 一般图案档(normal graphics files) 175

6.2-3 范例(example) 176

6.3 接受点指令(AP:Accept Point) 176

6.3-1 计时答题(response timing) 177

6.3-2 范例(example) 178

6.4 执行文字组档案指令(TX:Execute Character Set File) 180

6.4-1 范例(example) 181

6.5 音效指令(S:Sound) 183

6.5-1 修正事项(modifiers) 184

6.6 执行音效档案(SX:Execute Sound File) 186

6.6-1 范例(example) 186

7.1 一般建档须知(General File Information) 189

第七章 档案处理指令 189

7.1-1 档案(files) 190

7.1-2 记录(records) 190

7.1-3 开档(opening a file) 190

7.1-4 关档(closing a file) 191

7.2 建立及开启新档案指令(FOX:Create and Open New file) 191

7.2-1 最大记录数目(the maximum record number) 192

7.2-2 删除一资料档(deleting a data file) 193

7.2-3 字串变数(the string variable) 193

7.2-4 新档案(the new file) 193

7.2-5 范例(example) 194

7.3 打开现存档案令(FIX:Open Existing File) 195

7.3-2 字串变数(the string variable) 196

7.3-1 最大记录数目(the maximum record number) 196

7.3-3 范例(example) 197

7.4 开启档案之输出指令(FO:Output To Open File) 198

7.4-1 记录数目(the record number) 199

7.4-2 字串变数(the string variable) 200

7.4-3 范例(example) 200

7.5 开启档案之输入指令(FI:Input From File) 204

7.5-1 记录数目(the record number) 204

7.5-2 字串变数(the string variable) 205

7.5-3 范例(example) 205

8.1 GOTO指令(GOTO Command) 208

第八章 执行时指令 208

8.1-1 范例(example) 209

8.2 @ESCAPE指令(@Escape Command) 211

8.2-1 范例(example) 212

8.2-2 范例(example) 213

8.3 CTRL-C(终止课程执行)指令 215

8.4 RESET(重新设定键) 216

第九章 初学篇 218

9.1 使用学生名字(Using the Student's Name) 218

9.2 使用数字(Using Numbers) 219

9.3 计算回答(Counting Answers) 221

9.4 范例(An Example) 222

10.1-1 数字常数(numeric constants) 226

10.1-2 字串常数(string constants) 226

10.1 常数(Constants) 226

第十章 高等程式 226

10.2 变数(Variables) 227

10.2-1 简单数字变数(simple-numeric Variables) 227

10.2-2 数字阵列变数(numeric array Variables) 228

10.2-3 字串变数(string variables) 232

10.2-4 次字串变数(substring-variables) 234

10.2-5 假变数(pseudo-variables) 236

10.2-6 系统变数(system variables) 237

10.2-7 使用系统变数(using system variables) 238

10.3 函数(Functions) 240

10.3-1 超越函数(transcendental functions) 241

10.3-2 数学函数(arithmetic functions) 242

10.3-3 字串函数(string functions) 245

10.3-4 投入函数(input functions) 252

10.4 运算符号(Operators) 255

10.4-1 算术运算符号(arithmetic operators) 255

10.4-2 关系运算符号(relational operators) 256

10.4-3 逻辑运算符号(1ogical operators) 258

10.4-4 字串运算符号(string operators) 259

10.5 数式事项(Expressions) 260

10.5-1 运算符号的优先性(operator precedence) 260

10.5-2 数式在使用上的限制(limitations on expressions) 261

附录A ASCII Character Codes 263

附录B Using More Disk Drives 269

附录C Error Messages 275

附录D PILOT Language Summary 283

参考书目 293