home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Practical Programming in Tcl & Tk (4th Edition)
/
TCLBOOK4.BIN
/
pc
/
exsource.old
/
18_11.tcl
< prev
next >
Wrap
Text File
|
2003-04-15
|
227b
|
17 lines
#
# Example 18-11
# The SiteLink procedure.
#
proc SiteLink {label} {
global site
array set map $site(pages)
if {[info exist map($label)]} {
return "<a href=\" $map($label)\" >$label</a>"
} else {
return $label
}
}