@Tim Edwards trying to use the built in tcl
clock
command in a magic script but get
invalid command name "clock"
from the parser.
If I run this, I get the error
invalid command name "clock"
echo "clock seconds" | magic -dnull -noc -rcfile $PDK_ROOT/$PDK/libs.tech/magic/$PDK.magicrc
If I run this, and type
clock seconds
in the console, it returns a value
magic -dnull -rcfile $PDK_ROOT/$PDK/libs.tech/magic/$PDK.magicrc
Is there somewhere I can register
clock
as a know command (without having to recompile)?