I am trying to come up with an "if condition" that would allow me to enter parts of the code if the global variable == a certain name, otherwise ignore part of the code. I have tried the following but the syntax is not correct:
Code:
global universe "LNASCOMP" if $universe == "LNASCOMP" { display "Hello, world" }
Code:
. if $universe == "LNASCOMP" { LNASCOMP not found
0 Response to if condition "name global variable == " then enter the subroutine
Post a Comment