HP Forums
Need help deciphering hp-28s program - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: Need help deciphering hp-28s program (/thread-2982.html)



Need help deciphering hp-28s program - mbrethen - 02-01-2015 06:06 AM

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?


RE: Need help deciphering hp-28s program - mbrethen - 02-01-2015 07:33 PM

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.