Changeset 264 for ccr/trunk/p/GPLXPATH.m


Ignore:
Timestamp:
Nov 8, 2008, 10:58:15 PM (16 years ago)
Author:
George Lilly
Message:

persists LABS vars. try D DPATVGPLRIMA(1,"LABS")

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccr/trunk/p/GPLXPATH.m

    r248 r264  
    439439 ; W $O(@IHASH@(H2I)),!
    440440 F  S H2I=$O(@IHASH@(H2I)) Q:H2I=""  D  ; FOR EACH ELEMENT OF THE HASH
    441  . ; W H2I_"^"_@IHASH@(H2I),!
    442441 . I $QS(H2I,$QL(H2I))="M" D  Q  ; SPECIAL CASE FOR MULTIPLES
    443  . . W "GPLZZ",!
    444  . . W $NA(@IHASH@(H2I)),!
     442 . . ;W H2I_"^"_@IHASH@(H2I),!
     443 . . N IH,IHI
     444 . . S IH=$NA(@IHASH@(H2I)) ;
     445 . . S IH2A=$O(@IH@("")) ; SKIP OVER MULTIPLE DISCRIPTOR
     446 . . S IH2=$NA(@IH@(IH2A)) ; PAST THE "M","DIRETIONS" FOR EXAMPLE
     447 . . S IHI="" ; INDEX INTO "M" MULTIPLES
     448 . . F  S IHI=$O(@IH2@(IHI)) Q:IHI=""  D  ; FOR EACH SUB-MULTIPLE
     449 . . . ; W @IH@(IHI)
     450 . . . S IH3=$NA(@IH2@(IHI))
     451 . . . ; W "HEY",IH3,!
     452 . . . D H2ARY(.IARYRTN,IH3,IPRE_";"_IHI) ; RECURSIVE CALL - INDENTED ELEMENTS
     453 . . ; W IH,!
     454 . . ; W "GPLZZ",!
     455 . . ; W $NA(@IHASH@(H2I)),!
    445456 . . Q  ;
    446457 . D PUSH(IARYRTN,IPRE_"^"_H2I_"^"_@IHASH@(H2I))
Note: See TracChangeset for help on using the changeset viewer.