- Timestamp:
- Oct 31, 2008, 2:04:17 PM (16 years ago)
- Location:
- ccr/trunk/p
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/GPLRIMA.m
r247 r248 413 413 . . S ZZGN2=$NA(@ZZGN@(ZGVI)) 414 414 . . ; W ZZGN2,!,$O(@ZZGN2@("")),! 415 . . D H2ARY^GPLXPATH("ZZGA",ZZGN2 ) ; CONVERT HASH TO ARRAY415 . . D H2ARY^GPLXPATH("ZZGA",ZZGN2,ZGVI) ; CONVERT HASH TO ARRAY 416 416 . . ; D PARY^GPLXPATH("ZZGA") 417 417 . . D PUSHA^GPLXPATH("RTN","ZZGA") ; PUSH ARRAY INTO RETURN -
ccr/trunk/p/GPLXPATH.m
r178 r248 433 433 Q 434 434 ; 435 H2ARY(IARYRTN,IHASH) ; CONVERT IHASH TO RETURN ARRAY 436 ; 435 H2ARY(IARYRTN,IHASH,IPRE) ; CONVERT IHASH TO RETURN ARRAY 436 ; IPRE IS OPTIONAL PREFIX FOR THE ELEMENTS. USED FOR MUPTIPLES 1^"VAR"^VALUE 437 I '$D(IPRE) S IPRE="" 437 438 N H2I S H2I="" 438 439 ; W $O(@IHASH@(H2I)),! … … 443 444 . . W $NA(@IHASH@(H2I)),! 444 445 . . Q ; 445 . D PUSH(IARYRTN, H2I_"^"_@IHASH@(H2I))446 . D PUSH(IARYRTN,IPRE_"^"_H2I_"^"_@IHASH@(H2I)) 446 447 . ; W @IARYRTN@(0),! 447 448 Q
Note:
See TracChangeset
for help on using the changeset viewer.