hoots711
Structural
- Jan 5, 2006
- 19
I have been looking all over the net and have been unable to accomplish something that would take 10 seconds in any programming language...HELP PLEASE
simply, I need to run multiple commands if a value is true or false.
Exampl
if H < 5
x=2
y=9
gg=567
h.3=h.9
If H > 5
x=42
y=93
gg=23567
h.3=h.7
I have seen the commen if function (Condition,TV,FV)
but have not been able to find a away to accomplish what I need to do without writing a if statement for every line.
I have so many lines that are based on conditions that it will be really really sloppy if I have to write a (if) for each line.
Can in any way I run a block of code using a if statement.
I have been looking all over the web and couldnt find an example/answer.
Thanks
simply, I need to run multiple commands if a value is true or false.
Exampl
if H < 5
x=2
y=9
gg=567
h.3=h.9
If H > 5
x=42
y=93
gg=23567
h.3=h.7
I have seen the commen if function (Condition,TV,FV)
but have not been able to find a away to accomplish what I need to do without writing a if statement for every line.
I have so many lines that are based on conditions that it will be really really sloppy if I have to write a (if) for each line.
Can in any way I run a block of code using a if statement.
I have been looking all over the web and couldnt find an example/answer.
Thanks