aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xGradeBook.tcl2
-rwxr-xr-xGradeBook_lib.tcl2
2 files changed, 4 insertions, 0 deletions
diff --git a/GradeBook.tcl b/GradeBook.tcl
index 4eb7973..a8c5b00 100755
--- a/GradeBook.tcl
+++ b/GradeBook.tcl
@@ -3,6 +3,8 @@
# vim:set ft=tcl: \
exec tclsh "$0" "$@"
+# require Tcl version of at least 8.5 since I use 'ni' and 'in' in expressions for lists
+package require Tcl 8.5
package require sqlite3
package require ncgi
package require md5
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index f53ede5..cd4b4b8 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -3,6 +3,8 @@
# vim:set ft=tcl: \
exec tclsh "$0" "$@"
+# require Tcl version of at least 8.5 since I use 'ni' and 'in' in expressions for lists
+package require Tcl 8.5
# internal version of this code
set VERSION 1.1.1