Reply To: How can I use variable to define PATH?

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf How can I use variable to define PATH? Reply To: How can I use variable to define PATH?

#57210
Robert Kersemakers
Participant

    Hi Jae,

    I don’t think you can access a PATH in TCL anywhere in Cloverleaf. You can only use a PATH as a variable in your translation.

    If you want to use a variable in a PATH, you can do it like this (in a translation that is):

    Code:

    =0  –>  $%g1
    1(%g1).PID(0).00581(0).[0]  –>  @whatever

    This way you can use variable %g1 in your PATH. Always remember to use $%g1 to change the value of %g1.

    Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands