Sign in to follow this  
Followers 0
charleschia1986

What does "<>" means in Cicode

3 posts in this topic

Hi guys, may i know what does <> means in CitectSCADA"s cicode? yet, may i know what is == (comparing parameters) in Cicode? Can i write code as following? WHILE 1 DO IF (D8d = 1) THEN D8d = DO1; END END # D8d & DO1 are my variable tags. DO i need to add tagread and stuffs in front of my tags? thanks. Kind regards, Charles.

Share this post


Link to post
Share on other sites
Hello, Normally, '<>' is 'not equal to'. Good luck, Mark http://peakhmi.com/

Share this post


Link to post
Share on other sites
Mark is correct. <> means "not equal to" Example: If MyVariable <> 0 then MyVariable = 0; endif Which means that if the variable "MyVariable" does not equal 0 then set "MyVariable" to 0. == is a comparison statement just like <> only it means "is equal to" Example: If MyVariable == 0 then MyVariable = 1; endif Which means that if the variable "MyVariable" equals 0 then set "MyVariable" to 1.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0