<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr"><br></div><div dir="ltr"><br>On Mar 17, 2019, at 11:42, Ruben Di Battista wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div style="font-family:Merriweather,Arial;font-size:13px; color: rgba(51,51,51,1.0); ">To be clear, what I would like to achieve is:</div><div style="font-family:Merriweather,Arial;font-size:13px; color: rgba(51,51,51,1.0); "><br></div><div style="font-family:Merriweather,Arial;font-size:13px; color: rgba(51,51,51,1.0); ">If {[variant_isset python{27,35,36,37}]}</div><div style="font-family:Merriweather,Arial;font-size:13px; color: rgba(51,51,51,1.0); "> Do something</div><div style="font-family:Merriweather,Arial;font-size:13px; color: rgba(51,51,51,1.0); "><br></div><div style="font-family:Merriweather,Arial;font-size:13px; color: rgba(51,51,51,1.0); ">I’m not a ninja with TCL, so I’m asking what is the right way of doing this. Do I need to have an if condition for each variant?</div></div></blockquote><br><div>Yes. </div><div><br></div><div>if {[variant_isset python27] || <span style="background-color: rgba(255, 255, 255, 0);">[variant_isset python35] || [variant_isset python36] || </span><span style="background-color: rgba(255, 255, 255, 0);">[variant_isset python37]} {</span></div><div><span style="background-color: rgba(255, 255, 255, 0);"> ...</span></div><div><span style="background-color: rgba(255, 255, 255, 0);">}</span></div></body></html>