954,529 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

convert one line to delphi?

Hi java coder here
im converting a program into delphi for a project
basicaly ive forgotten my whole delphi maths
soo
can anyone convert this into delphi

(l1 & 0x2 ^ 0xffffffff) == -3;
aaa801
Newbie Poster
1 post since Dec 2010
Reputation Points: 10
Solved Threads: 0
 

What is ^ for ?

pritaeas
Posting Expert
Moderator
5,480 posts since Jul 2006
Reputation Points: 653
Solved Threads: 874
 

It's an equality test.

(11 and $2 xor $FFFFFFFF) = -3

if I understand the syntax right

Glenn9999
Newbie Poster
4 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: