X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=display.tcl;h=ae3148f2cd96904bfe3e7e5017079892a8db1013;hb=4b0a2dcc8145c6b721a23c2a9bfe9f3f9596fb5a;hp=ac038324ce90251f4f8313b6b2a037530a8c0f74;hpb=b7bac2322e7a6855f60d167509108eff3d21bd65;p=ir-tcl-moved-to-github.git diff --git a/display.tcl b/display.tcl index ac03832..ae3148f 100644 --- a/display.tcl +++ b/display.tcl @@ -1,4 +1,4 @@ -# $Id: display.tcl,v 1.1 1995-06-30 12:39:16 adam Exp $ +# $Id: display.tcl,v 1.3 1997-04-13 19:00:42 adam Exp $ # # Record display proc display {zset no} { @@ -19,8 +19,13 @@ proc display {zset no} { if {$rtype == "SUTRS"} { puts [join [$zset getSutrs $no]] return - } - if {[catch {set r [$zset getMarc $no list * * *]}]} { + } + if {$rtype == "GRS-1"} { + set r [$zset getGrs $no] + puts $r + return + } + if {[catch {set r [$zset getMarc $no line * * *]}]} { puts "Unknown record type: $rtype" return }