summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ba09b82)
raw | patch | inline | side by side (parent: ba09b82)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 8 Dec 2009 08:56:06 +0000 (08:56 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 8 Dec 2009 08:56:06 +0000 (08:56 +0000) |
program/doc/rpntutorial.pod | patch | blob | history |
index caa8451cdca1d37c13f6f0ec64ec33e5455498e5..0ab3131752669110447fa00765fd0d1fdba7be55 100644 (file)
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,7000,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":