tcl - Condition based on environment variable existance -


Is it the right to use the following condition based on environment variables? Or better way?

Example:

  # Both environment variables must exist if {expr [eval {info exists env (VARIABLE_1)}] & amp; [Eval {info exists env (VARIABLE_2)}]} {# true: do something} second {# false: separate something}  

Comments

Popular posts from this blog

c# - Highlight all words containing a letter in a richtextbox -

Admob interstitials not clickable on Nexus 5 (Android 4.4.2) -

java - MigLayout - selective component fill -