Hi guys, Is there any difference between + and or operators. Is the pipe (|) available in masm32. Clark
'+' is used to add two values. The equivalent of '|' is 'OR'. Sometimes, adding two values is equivalent to an OR. For example (0001b + 0010b) is equivalent to (0001b OR 0010b).
Superman_San, When you are combining styles in windows API calls, you ORR them and at the other end in the guts of the API thay are pulled apart in a predectable way based on ORRing them so to be safe, combine your styles with the OR operator. A logical conjunction is an AND/OR or in different terminology, a weak OR which is different to and exclusive OR (XOR) in computer terms. Regards, firstname.lastname@example.org