Post Reply 
Summing lists in directory structure
09-18-2017, 10:05 AM
Post: #13
RE: Summing lists in directory structure
I do have a quick question about the inbuilt debugger (PRG->RUN->DBG). How can I get it to trace into a subprogram? It seems to skip over the subprogram even if I use SST↓ and follow up with what follows the subprogram. (That's SST with a downarrow after).

The code I'm trying to debug (i.e. find out how it works) is the inner subprogram section beginning "IF DUP Month ...", but the debugger skips to DOLIST instead of entering the «…» and tracing onwards:


« →Month
  « Month EVAL  0. 'TOTAL' STO
    VARS S~N 1.
@ I can't enter this section here with the inbuilt debugger @
   «  IF DUP Month S~N POS
       ELSE DROP END  
     » DOLIST UPDIR  @ skips ahead to here instead @

I'll put up a post another time with a line-by-line about how I think this works, just to see if I've got it right.

(Post 86)

Regards, BrickViking
HP-50g |Casio fx-9750G+ |Casio fx-9750GII (SH4a)
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Summing lists in directory structure - brickviking - 09-18-2017 10:05 AM

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