I have a file called test7.tcl:
namespace eval ::dai { variable name "ratzip" variable birthday "1982" proc hello {} { variable name variable birthday puts "Hello, I am $name birthday is $birthday" } }
and I want to transfer this file to another file called test8.tcl as follows:
source test7.tcl ::dai::hello
but this gives me an error: could not read the file "test7.tcl": there is no such file or directory
but both files are in the same folder, what happened?
user707549
source share