HP Forums
Using the HP-50g filer - 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: Using the HP-50g filer (/thread-14842.html)



Using the HP-50g filer - cahlucas - 04-13-2020 10:07 PM

Hi all,
I am trying to use the HP-50g's built-in filer in one of my programs, but this has resulted in a reboot. According to "Programming in system RPL by Eduardo Kalinowski & Carsten Dominik" the code I created is OK, see below. But maybe I have missed something or misunderstood the information. Can someone help me with this? Sincerely, Karel.

Code:

::
  {
     # 2A96             // Prologue for Directory object (DORRP) 
  }
  PATHDIR              // Begin in the present directory
  DUPLENCOMP
  DUP
  SUBCOMP
  {
    {
       NULL$            // Null menu key
       BINT0
       BINT0
    }
    {
       NULL$            // Null menu key
       BINT0
       BINT0
    }
    {
       NULL$            // Null menu key
       BINT0
       BINT0
    }
    {
       NULL$            // Null menu key
       BINT0
       BINT0
    }
    {
       "CANCL"         // Cancel operation
       BINT0
       THIRTYSEVEN
    }
    {
       "OK"              // Enter directory
       BINT1
       BINT11
       '
       TakeOver       // Exit program
    }
  }
  ^FILER_MANAGERTYPE
;
@