Files
MyOwnEtherCATDevice/linuxcnc/sim.gmoccapy.lathe_configs/hallib/var_show.tcl
2024-01-06 20:54:15 +01:00

15 lines
354 B
Tcl
Executable File

# var_show.tcl
# this halfile can be used to show context and
# INI variable arrays available to tcl halfiles
# example: [HAL]LIB:var_show.tcl arg1 arg2
#begin-----------------------------------------------------------------
source [file join $::env(HALLIB_DIR) util_lib.tcl]
show_ini
show_context
puts ::argv=$::argv
puts ::arglen=[llength $::argv]