Image may be NSFW. Clik here to view.圆面积函数 plist 代码
pwr x 2; mul x pi即运算步骤,command 需缩写。这里列出部分 command 对应的缩写形式4 。
1.set x 42 # Set X to 42 2.clr x # Clear X 3.add x 42 # Add 42 to X 4.sub x 42 # Subtract 42 from X 5.mul x 42 # Multiply X by 42 6.div x 42 # Divide X by 42 7.neg x # Negate X 8.inv x # Invert X 9.pwr x 42 # Raise X to the power of 42 10.roo x 42 # Raise X to the power of 1/42 11.sin x # Sine of X 12.cos x # Cosine of X 13.tan x # Tangent of X 14.asn x # Arcsine of X 15.acs x # Arccosine of X 16.atn x # Arctangent of X 17.ln x # Natural log of X 18.log x # Base 10 log of X 19.exp x # e to the power of X 20.e10 x # 10 to the power of X 21.fac x # Factorial of X 22.rnd x # Round X to nearest integer 23.trn x # Truncate X to nearest integer 24.hyp x 42 # Hypotenuse of triangle with legs X and 42 25.leg x 42 # Leg of triangle with hypotenuse and other leg of X and 42 26.dec # Decimal mode 27.hex # Hex mode 28.oct # Octal mode 29.bin # Binary mode 30.deg # Degrees mode 31.rad # Radians mode 32.jmp 1 # Skip 1 step 33.beq x 42 1 # Skip 1 step if X is equal to 42 34.bne x 42 1 # Skip 1 step if X is not equal to 42 35.bgt x 42 1 # Skip 1 step if X is greater than 42 36.bge x 42 1 # Skip 1 step if X is greater than or equal to 42 37.blt x 42 1 # Skip 1 step if X is less than 42 38.ble x 42 1 # Skip 1 step if X is less than or equal to 42 39.stp # Stop