HP-71: MakeLEX


I'd like to send ahead that this note is mainly for those of you who had the pleasure to read Joseph Horns book "HP-71 Basic Made Easy". I'm currently trying to understand the beautiful program MAKELEX in that book on page 133 and encountered a problem in line 60

60 A=HTD(ADDR$('DUMMY')) @ A1=A @ P$=RPT$("-",16)

where in the last entry the command (?) RPT$("-",16) is not recognized by the machine (and not by me either). So, I guess this is a "typo" (or did I miss something?). Does anyone know what the correct entry should be? I'd really like to see this fascinating little program run ... :-)




where $pattern is repeated n times, which gives $'.
Example: R$=RPT$("ABC",4)
Afterwards R$="ABCABCABCABC"

It seems you need the small HP-71 LEX file called STRINGLX,
which adds some nice string manipulation functions.

If the above example is the only occurence of RPT$,
you can substitute it with a string of 16 '-'.




Many thanks for the explanation, Raymond! I'll try it out tonight and hopefully will see the gem finally run :-)
B.t.w., do you know any source where I could find the LEX-file STRINGLX you mentioned?

Regards, Juergen




Possibly Related Threads...
Thread Author Replies Views Last Post
  How to move lexfiles from PC to 71 w/o HP-IL? Joe Horn 9 2,301 10-18-2013, 03:50 PM
Last Post: Christoph Giesselink
  "The Basic HP-71" Jeff Davis 3 1,104 08-30-2012, 12:20 AM
Last Post: Howard Owen
  hp clock does not talk to hp 71 Hans Holzach 15 2,578 07-29-2012, 04:13 PM
Last Post: Hans Holzach
  Backlighting the 41/71 series John W Kercheval 1 785 06-15-2012, 07:38 PM
Last Post: Sylvain Cote
  Source (Online) for 71/41 Programs John W Kercheval 15 2,778 06-04-2012, 02:14 PM
Last Post: Christoph Klug
  HP 41 / 71 SWAP Disks Richard Wagoner 4 1,222 03-17-2012, 01:53 PM
Last Post: Richard Wagoner
  HP-41 Translator Pac for the HP-71 (HP 82490A) robertoataulfo 3 996 11-27-2011, 07:43 AM
Last Post: robertoataulfo
  Connecting the HP-41 to the HP-71... Why? How? Geir Isene 8 1,689 09-06-2011, 10:52 AM
Last Post: Raymund Heuvel
  HP71B ROM PAC "UDL-71*" by Viewtronics John Pierce 6 1,429 04-22-2011, 10:49 AM
Last Post: Howard Owen
  HP-71 matrix methods (LU decomp?) Karl Schneider 6 1,369 09-09-2010, 01:26 AM
Last Post: Karl Schneider

Forum Jump: