Raptor运算符号、函数、子过程介绍大全Raptor symbols 符号(六个)
The six symbols used in Raptor are displayed in the Symbol Window in the upper left corner of the main window:
赋值Assignment
x
调用Call及subcharts
graphics routines and other instructor-provided procedures及subcharts
输入Input
输出Output
分支Selection
循环Loop Control
Math in Raptor(数学运算符)
Unary Minus ( - )负号
例如,x值分别为7,-3,3,则-x的值为-7;-x的值为3,---x值为-3 Exponentiation ( ^ or ** )指数运算
2^3的值为8;-3**2 的值为9 ( =(-3)*(-3) )
* , / , REM, MOD——乘、除、取余函数
=2
注:三种除运算除数均不可为0,否则将显示“run-time error”