Path: utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!uwm.edu!rutgers!orstcs!jacobs.CS.ORST.EDU!louxj From: louxj@jacobs.CS.ORST.EDU (John W. Loux) Newsgroups: comp.sys.handhelds Subject: Re: PRG-> and ->PRG Message-ID: <20905@orstcs.CS.ORST.EDU> Date: 10 Oct 90 16:16:55 GMT References: <3464@mindlink.UUCP> Sender: usenet@orstcs.CS.ORST.EDU Organization: Solve and Integrate Corp. - Corvallis Lines: 23 In article <3464@mindlink.UUCP> a634@mindlink.UUCP (Rob Prior) writes: >1: << RCL DUP PURGE >> (or whatever) >PRG-> executed would give: >6: << >5: RCL >4: DUP >3: PURGE >2: >> >1: 5 (this all being accomplished > through the use of sysevals) >->PRG would take the stack in part 2 and give you what you started with. Do you mind if I ask what good this is? Aside from that, something similar can be accomplished by either creating the program as a LIST or converting the program to a list and then using OBJ-> to decompose to the stack. The result is the same with the exception that the program delimiters are not among the commands and functions on the stack. ->LIST will recompose the object and EVAL will run it as a program. ``Give it a whirl sometime, Doctor.'' John W. Loux john@solvint.uucp