X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=formats%2Fraw.tcl;h=33164ec55e692de95e086a442fb1c1ec7c6c48de;hb=be9d3bac0ca3bc71b4b67181dd02fa094fdfba05;hp=8aa9162511ada66fab20b3857eba9a2b96a83957;hpb=a15a80e995220dc483d5c997e74ec0fb4ec4a225;p=ir-tcl-moved-to-github.git diff --git a/formats/raw.tcl b/formats/raw.tcl index 8aa9162..33164ec 100644 --- a/formats/raw.tcl +++ b/formats/raw.tcl @@ -4,7 +4,13 @@ # Sebastian Hammer, Adam Dickmeiss # # $Log: raw.tcl,v $ -# Revision 1.8 1995-10-17 10:58:09 adam +# Revision 1.10 1996-01-23 15:24:24 adam +# Wrore more comments. +# +# Revision 1.9 1995/10/17 14:18:10 adam +# Minor changes in presentation formats. +# +# Revision 1.8 1995/10/17 10:58:09 adam # More work on presentation formats. # # Revision 1.7 1995/10/12 14:46:58 adam @@ -41,12 +47,19 @@ proc display-grs-raw {w r i} { insertWithTags $w "\n" {} display-grs-raw $w [lindex $e 4] [expr $i+1] } else { - insertWithTags [lindex $e 4] {} + insertWithTags $w [lindex $e 4] {} insertWithTags $w " ?\n" {} } } } +# Procedure display-raw {sno no w flag} +# sno result set number (integer) +# no record position (integer) +# w text widget in which the record should be displayed. +# hflag header flag. If true a header showing the record position +# should be displayed. +# This procedure attempts to display records in a raw format. proc display-raw {sno no w hflag} { if {$hflag} { insertWithTags $w " $no " marc-head