Raptor运算符号函数子过程介绍汇总.docVIP

  • 277
  • 0
  • 约1.92万字
  • 约 26页
  • 2017-04-14 发布于四川
  • 举报
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 - x + 1用Set x to x+1 调用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——乘、除、取余函数 floor ( 5 / 2 )——整除函数?=2 x y x REM y x MOD y 10 3 1 1 37 2 1 1 16 2 0 0 9.5 3 0.5 0.5 9.5 2.5 2 2 -10

文档评论(0)

1亿VIP精品文档

相关文档