Re: [WP34s] Bug? Message #3 Posted by Kerem Kapkin (Silicon Valley, CA) on 20 Oct 2011, 5:06 p.m., in response to message #1 by fhub
I think program is working the way it should.
LBL A -> XEQ 00 -> LBL 00 -> RTN+1 -> SKIP01 (skipps ERR20) -> RTN (END)
If you remove the SKIP01 command
LBL A -> XEQ 00 -> LBL 00 -> RTN+1 -> ERR20 (Get "Solve FAILED")
Or if you add some other line right after SKIP01, and before ERR20, it works too.
From the 34s Manual: Skips n program steps forwards (1 <= n <= 99). So
e.g. SKIP 02 skips over the next two steps,going e.g. from step 123 to step 126.
EDIT: Never mind :) you are right, after reading the RTN+1 definition more carefully, it should actually go to the second line AFTER XEQ, skipping the one right after XEQ (SKIP01 in this case), therefore it should execute ERR20, but it lands on SKIP01.
-Kerem
Edited: 20 Oct 2011, 5:14 p.m.
|