Originally posted by Mark Thompson
I'm trying to modify where the Clovelreaf counter utilities (like CtrNextValue) create files when no directory path is specified. The code isn't hard, it's just getting Cloverleaf to use it.
Placing the updated code in a site or master site tclprocs directory (and running mktclindex) doesn't help because the counter utilites are already loaded during Tcl initialization by $HCIROOT/tcl/lib/cloverleaf/init.tcl.
I have not been successful in loading them from localInit.tcl either because they are already loaded at the point localInit gets called from init.tcl.
I would prefer not to hack $HCIROOT/tcl/lib/util.tlib (where the Cloverleaf counter utilities are provided) because it gets overwritten with each version update.
Any suggestions on how to get hcitcl - both command line and live engine - to use my version of the counter utils?
(Yes, I know you can specify a path on the file name for existing counter utilities - that doesn't accomplish our goal.)