Forum Discussion
Kleython_Kell_5
Nimbostratus
Jul 18, 2012Operators
Hello, Is there any diference in use the operator "equals" or use "==" ? thanks a lot
hoolio
Cirrostratus
Jul 18, 2012Basically use eq or equals for string comparisons and == for numerics. == will work for both numeric and string comparisons but using == on strings is less efficient.
Here's an article Colin wrote on polymorphism with operators:
https://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/193/Polymorphism--Making-TCL-operators-work-for-you.aspx
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
