TimCS.Co.Uk Delphi Delphi Useful Information Explanation Of Delphi operators
Explanation Of Delphi operators

Explaination of Delphi Operators:

 

Example of the operator

Explanation of the operator

value1 := value2

Sets value1 to contain the same data as value2

value1 = value2

Compares value1 against value2 and will return a true or false result

value1 value2

This compares value1 against value2 to see if they are not the same, if they are not the same it will report a true result otherwise it will report false

value1 < value2

Checks to see if value1 is less than value2 if so,  the result will be true.

value1 > value2

If value1 is greater than value2 then the result is true

value1 >= value2

On this condition if value1 is greater or equal to value2 , the result will be true.

value1 <= value2

Like the above condition this is the reverse, is value1 less than or equal to value2? if so then the result is true


 

Powered by Joomla!. Valid XHTML and CSS. Credits go to Gareth Flowers for his help with this site.