DMS500Tech
Technical User
Here is a snippet of code that I am having a little trouble finding a compliment command or rearranging the logic to accomplish my needs.
The first IF statement is straight forward and works.
The ElseIF statement that needs to come next is giving me problems. r1column1 and r2column1 need to both be true for the script to branch to column2 or either one be false to proceed to the else statement.
Preceeding this are the declrations and the termgets and they seem to be okay so far.
If r1column1 = "."
goto column2 ;......................no alarms move to next column
Elseif r1column1 = c1change1 and (&) r2column1 = c1change2
goto column2 ;.......................no change next column
Else
Alarm1 = r1column1 ;.................assign to variable to remove extra characters
call "and so on"
after this are the called proceedures to deal with the next columns and alarms.
The first IF statement is straight forward and works.
The ElseIF statement that needs to come next is giving me problems. r1column1 and r2column1 need to both be true for the script to branch to column2 or either one be false to proceed to the else statement.
Preceeding this are the declrations and the termgets and they seem to be okay so far.
If r1column1 = "."
goto column2 ;......................no alarms move to next column
Elseif r1column1 = c1change1 and (&) r2column1 = c1change2
goto column2 ;.......................no change next column
Else
Alarm1 = r1column1 ;.................assign to variable to remove extra characters
call "and so on"
after this are the called proceedures to deal with the next columns and alarms.