diff --git a/doc/rpntutorial.txt b/doc/rpntutorial.txt
index 71daa8f95cedffae8c5225c3e06e11dbd52d2db8..97a5fc8d3955999f8bb570c5f7114bd797e23b02 100644 (file)
--- a/doc/rpntutorial.txt
+++ b/doc/rpntutorial.txt
multiplication operator:
1) 128,8,*,7000,GT,7000,128,8,*,IF eval 128,8,* result is 1024
- 2) 1024,7000,GT,7000,128,8,*,IF eval 1024,7000,GT result is 0
- 3) 0,128,8,*,IF eval 128,8,* result is 1024
- 4) 0,7000,1024,IF result is 1024
+ 2) 1024 ,7000,GT,7000,128,8,*,IF eval 1024,7000,GT result is 0
+ 3) 0, 7000,128,8,*,IF eval 128,8,* result is 1024
+ 4) 0, 7000,1024, IF result is 1024
Now let's go back to the first example of multiple logic operators, but
replace the value 20 with the variable "input":
Answer 2:
if (input <= 56000/8 ) { input*8 } else { 56000 }
- input,56000,8,DIV,LT,input,8,*,56000,IF
+ input,56000,8,DIV,LE,input,8,*,56000,IF
Exercise 3:
-1.4.2 2009-10-14 RPNTUTORIAL(1)
+1.4.8 2013-05-23 RPNTUTORIAL(1)