• Which alias called this proc?

    From Eric@21:1/5 to All on Thu Aug 10 11:56:23 2023
    I have a proc which might be called by a number of different aliases.
    How can I find which alias was used?

    Eric
    --
    ms fnd in a lbry

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From clt.to.davebr@dfgh.net@21:1/5 to All on Thu Aug 10 14:06:38 2023
    the info command gives information about what is going on with Tcl
    something like
    dict get [info frame -1] cmd
    might be what you want

    Dave B

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eric@21:1/5 to clt.to.davebr@dfgh.net on Sat Aug 12 14:54:21 2023
    On 2023-08-10, clt.to.davebr@dfgh.net <clt.to.davebr@dfgh.net> wrote:
    the info command gives information about what is going on with Tcl
    something like
    dict get [info frame -1] cmd
    might be what you want

    Dave B

    Thank you. Actually I only need
    lindex [dict get [info frame -1] cmd] 0

    Eric
    --
    ms fnd in a lbry

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)