Kevin wrote: >On 1/1/06, Jim Self <[EMAIL PROTECTED]> wrote: >> >> Kevin wrote: >> >What I wish was that I was smart enough to write a converter from that >> older >> >style into the expanded form that I like. >> >> The XINDEX utilities include a "pretty printer" (^XINDX8) that I believe >> does exactly what >> you want. I used its precursor (%INDEX) extensively when I first started >> programming in >> MUMPS about 25 years ago. I used it to help me read the source code for >> Fileman and CoSTAR >> and a number of other public domain MUMPS applications. > > >Very interesting! But how do I launch it?
d ^XINDEX >If I try do ^XINDX8, it >crashes. When I step through the code, it wants RTN to be defined, and also >^UTILITY($J,1,RTN,0). I presume this is setup somewhere. Is there an entry >point from the menu system? Also, I can't seem to find %INDEX. do ^%INDEX >--> crash. %INDEX was from 25 years ago (pre VistA). XINDEX is a replacement. >Also, is there any documentation for these routines? Are they in the >Fileman docs? Kernel docs? I imagine that there is but I haven't found anything yet beyond comments in the code. I seem to recall asking about it myself recently without receiving any response. --------------------------------------- Jim Self Systems Architect, Lead Developer VMTH Computer Services, UC Davis (http://www.vmth.ucdavis.edu/us/jaself) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members