• Re: Using other files for init script

    From Ashok@apnmbx-public@yahoo.com to comp.lang.tcl on Wed Oct 29 08:21:47 2025
    From Newsgroup: comp.lang.tcl

    On 10/13/2025 5:35 PM, Harald Oehlmann wrote:
    Am 13.10.2025 um 12:59 schrieb Arjen:


    Yes,
    lease look to TIP 732, which addresses this:

    https://core.tcl-lang.org/tips/doc/trunk/tip/732.md

    As a point of clarification, 732 does not address this. To quote,

    **Tcl executes the following sequence to run an interpreter
    pre-initialization script, not to be confused with the application initialization script such as .tclshrc or .wishrc.**

    The pre-initialization script is run to as part of initializing Tcl
    itself and is independent of any application initialization script
    (.tclshrc for tclsh, .wishrc for wish and whatever else for custom applications)

    What the OP suggested would not be covered by 732. I do think the
    suggestion is reasonable.

    /Ashok


    --- Synchronet 3.21a-Linux NewsLink 1.2