Netwrkengeer
IS-IT--Management
How would I compare a value and then have the value replaced if it was true.
for example
I have variables A,1,2
"A" is the variable I want to reference at the end
"1" and "2" are the variables that I want to compare to "A"
{1 and 2} have to be in an array because I want to add more variable to compare to "A" automatically.
A=47
1=43
2=51
A<=1 A remains 47
A<=2 A becomes 51
for example
I have variables A,1,2
"A" is the variable I want to reference at the end
"1" and "2" are the variables that I want to compare to "A"
{1 and 2} have to be in an array because I want to add more variable to compare to "A" automatically.
A=47
1=43
2=51
A<=1 A remains 47
A<=2 A becomes 51