Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hp-pcd!hpcvra.cv.hp.com!rnews!hpcvbbs!akcs.scotty From: akcs.scotty@hpcvbbs.UUCP (SCOTTY THOMPSON) Newsgroups: comp.sys.handhelds Subject: Re: Help RPL Tokens Keywords: rpl, tokens Message-ID: <285a3f4c:3003.2comp.sys.handhelds;1@hpcvbbs.UUCP> Date: 15 Jun 91 16:40:04 GMT References: <2822f978:3003comp.sys.handhelds@hpcvbbs.UUCP> <285159d4:3003.1comp Lines: 34 After hacking for awhile, I was able to determine exactly what these "Tokens" were. However, to reitterate a previous post, nested tokens like: D9D20 [PROGRAM] ..... {COMMANDS} XXXXX SKIP NEXT TOKEN D9D20 [PROGRAM] ..... {COMMANDS} D9D20 [PROGRAM] ..... {COMMANDS} XXXXX SKIP NEXT TOKEN B2130 [END_MARKER] ..... {COMMANDS} B2130 [END_MARKER] B2130 [END_MARKER] don't seem to work if I have a "skip next token" preceeding an end-marker. I would really like to know how to properly nest this type of "token" list. For example, a simple IF THEN ELSE structure will execute the next token and skip the next or skip this token and execute the next. I know there are routines already in ROM that do this, but they require that "TRUE" or "FALSE" (for example) be on the stack. I wrote m/l routines that call skip next, etc. for quick analysis and execution. Test routines in system RPL as described above behave improperly when nested. Any help is muchly appreciated (it's SAT a.m., grammer and spelling become inverted and intertwined). Derek, I'm going to send you a check for a few bucks for Voyager since I have been using it considerably. Just a suggestion: PLEASE ALLOW US TO EXIT AT ANY TIME FROM THE "PRESS ENTER TO CONTINUE" LINE AND EXAMINE CODE. BETTER STILL, CAN WE PRESS A KEY TO "PUSH" THIS LOCATION, STOP THERE, EXAMINE CODE AND UPON ENCOUNTERING GOYES' (ETC.), PUSH THOSE ADDRESSES AND EXAMINE THE ROUTINES AND POP THEM TO RETURN OR HAVE A MENU LIST POP UP TO SELECT THE RETURN "POP" ADDRESS?