Pat Deegan
05/23/2024, 12:15 AMStefan Schippers
05/23/2024, 1:18 AMPat Deegan
05/23/2024, 1:21 AMStefan Schippers
05/23/2024, 1:24 AMproc do_something {} {
...
...
...
}
do_something
This way all needed variables are created inside the procedure, not polluting the global namespace.
when you source the script file the do_something
proc is executed.Pat Deegan
05/23/2024, 1:32 AMStefan Schippers
05/23/2024, 7:00 PMdo_something
) not needing to re-read the file. Faster and cleaner.Pat Deegan
05/23/2024, 7:05 PM