Changeset 1388
- Timestamp:
- Mar 25, 2012, 11:53:47 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fmts/trunk/p/C0XGET1.m
r1387 r1388 37 37 s zobj=$$IENOF($$EXT^C0XUTIL($g(obj)),fary) ; ien of object 38 38 s zgraph=$$IENOF($g(graph),fary) ; ien of graph 39 W !,"s:",zsub," p:",zpred," o:",zobj39 I $G(DEBUG) W !,"s:",zsub," p:",zpred," o:",zobj 40 40 d trip(.tmprtn,zsub,zpred,zobj,zgraph,fary) 41 41 n ztmp … … 151 151 s zobj=$$IENOF($$EXT^C0XUTIL($g(obj)),fary) ; ien of object 152 152 s zgraph=$$IENOF($g(graph),fary) ; ien of graph 153 W !,"s:",zsub," p:",zpred," o:",zobj153 I $G(DEBUG) W !,"s:",zsub," p:",zpred," o:",zobj 154 154 d trip(.tmprtn,zsub,zpred,zobj,zgraph,fary) 155 155 d ien2tary(.zrary,"tmprtn") ; convert to triples … … 206 206 s zobj=$$IENOF($$EXT^C0XUTIL($g(obj)),fary) ; ien of obj 207 207 s zgraph=$$IENOF($g(graph),fary) ; ien of graph 208 W !,"s:",zsub," p:",zpred," o:",zobj208 I $G(DEBUG) W !,"s:",zsub," p:",zpred," o:",zobj 209 209 n c0xflag,zi,zx,zt 210 210 s zt=$na(^C0X(101)) ; … … 240 240 s zx=itbl(c0xflag,zi) ; executable instruction to run 241 241 ;i $g(ngraph)'="" s zi="G"_zi ; this is wrong.. don't do graphs yet 242 w !,c0xflag," ",zw," ",zt," ",zi," ",zx,!242 i $g(DEBUG) w !,c0xflag," ",zw," ",zt," ",zi," ",zx,! 243 243 ;zwr itbl 244 244 x zx … … 352 352 s zx=itbl(c0xflag,zi) ; executable instruction to run 353 353 i $g(ngraph)'="" s zi="G"_zi 354 w !,zx354 i $g(DEBUG) w !,zx 355 355 x zx 356 356 q … … 460 460 q $$WHERETXT^C0XF2N(zo) 461 461 ; 462 tagRoot(ztag) ; extrinsic which returns the root for graphs and subjects 463 ; associated with ztag 464 n zs,zo 465 s zs=$$subject("fmts:fileTag",ztag) 466 i zs="" d q "" ; 467 . w !,"error, tag is either missing or there are more than one ",ztag 468 s zo=$$object(zs,"fmts:root") 469 i zo="" d q "" ; 470 . w !,"error, root not found ",zs 471 ;w !,zo 472 q zo 473 ;
Note:
See TracChangeset
for help on using the changeset viewer.