The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
WP 34S: CASE example issue in the latest manual
03-08-2016, 11:23 PM
Post: #1
WP 34S: CASE example issue in the latest manual
I've found an issue in the example of the CASE instruction in my pdf manual v3.3 compared to my 34S v3.3 rev 3815:

The manual says: CASE s works like SKIP but s indicates the number of steps to skip.

=> that's fine, thats how it works on my 34S.

Then the example is:
Quote:Assume the following program section:
...
100 CASE 12
101 GTO 01
102 GTO 02
[...]
In program execution, r12 will be checked in
step 100: if r12 ≤ 1 then the program will
proceed to step 101

=> that's not how it works on my 34S, if r12=1 then one step is skipped and execution continues to step 102, not 101. The execution continues to step 101 if r12=0, which is in line with the description of CASE as there is no step to skip from 100 to 101.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
WP 34S: CASE example issue in the latest manual - Didier Lachieze - 03-08-2016 11:23 PM



User(s) browsing this thread: 2 Guest(s)