Post Reply 
Need help deciphering hp-28s program
02-01-2015, 06:06 AM (This post was last modified: 02-02-2015 12:27 AM by mbrethen.)
Post: #1
Need help deciphering hp-28s program
I thought I'd try "411 for the HP 28S", labeled a "Directory Assistance System" written by Tom Affinito in 1988. The 'BUILD' command follows:

Code:
BUILD        CREATE A NEW WORKSPACE
            'name'  :
 
    << HOME ->411 DUP O->S "UTIL" + -> n n.s
        << IF VARS n POS THEN "NAME IN USE" 1 DISP BOOP
           ELSE 'WK.LS' DUP EVAL n + SWAP STO
            "<>" + STR-> n STO
            UTIL
            n.s DUP S->N CRDIR STR->
            WORK CRDIR
            << WON >> SWON STO
            {} SU.LS STO
            MAIN
           END
        >>
    >>

I get a "Too Few Arguments" error on "<>", line 4. Does anyone know what the symbol "<>" represents?
Find all posts by this user
Quote this message in a reply
02-01-2015, 07:33 PM (This post was last modified: 02-02-2015 12:27 AM by mbrethen.)
Post: #2
RE: Need help deciphering hp-28s program
Update: I stumbled upon another source for this program. Line 4 is replaced by

Code:
"<<UTIL " n.s + " WORK SWON>>" + STR-> n STO

All is well.
Find all posts by this user
Quote this message in a reply
Post Reply 




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