X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=display.tcl;h=67db1a1c700110205db506a4228258ea4aa9e256;hb=d70a9f9286622410be1a29481a1153c0fbea3139;hp=69b14459fb057d8d393514c5f2da9bccc2cbc970;hpb=4b96df0e1f1db0983dff2d019373fea918b8b6ec;p=ir-tcl-moved-to-github.git diff --git a/display.tcl b/display.tcl index 69b1445..67db1a1 100644 --- a/display.tcl +++ b/display.tcl @@ -1,4 +1,4 @@ -# $Id: display.tcl,v 1.2 1995-08-28 12:21:21 adam Exp $ +# $Id: display.tcl,v 1.4 1998-05-20 12:27:42 adam Exp $ # # Record display proc display {zset no} { @@ -19,7 +19,17 @@ proc display {zset no} { if {$rtype == "SUTRS"} { puts [join [$zset getSutrs $no]] return - } + } + if {$rtype == "GRS-1"} { + set r [$zset getGrs $no] + puts $r + return + } + if {$rtype == "Explain"} { + set r [$zset getExplain $no] + puts $r + return + } if {[catch {set r [$zset getMarc $no line * * *]}]} { puts "Unknown record type: $rtype" return