Page MenuHomeDevCentral

Core.tcl
No OneTemporary

Core.tcl

#
# TCL helpers
#
#Determines if $proc exists
proc proc_exists {proc} {
expr {[info procs $proc] == $proc}
}
#
# Trivial procs
#
#Determines if $v is a number
proc isnumber {v} {
return [expr {! [catch {expr {int($v)}}]}]
}
#
# MySQL
#
#Gets the value of the key $key from the registry
proc registry_get {key} {
sql "SELECT value FROM registry WHERE `key` = '$key'"
}
#Sets the key $key to $value in the registry
proc registry_set {key value} {
}

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 21, 06:52 (14 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3546581
Default Alt Text
Core.tcl (460 B)

Event Timeline