projects
/
ir-tcl-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed printf call.
[ir-tcl-moved-to-github.git]
/
display.tcl
diff --git
a/display.tcl
b/display.tcl
index
ac03832
..
67db1a1
100644
(file)
--- 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.4 1998-05-20 12:27:42 adam Exp $
#
# Record display
proc display {zset no} {
#
# Record display
proc display {zset no} {
@@
-19,8
+19,18
@@
proc display {zset no} {
if {$rtype == "SUTRS"} {
puts [join [$zset getSutrs $no]]
return
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 {$rtype == "Explain"} {
+ set r [$zset getExplain $no]
+ puts $r
+ return
+ }
+ if {[catch {set r [$zset getMarc $no line * * *]}]} {
puts "Unknown record type: $rtype"
return
}
puts "Unknown record type: $rtype"
return
}