Quote Originally Posted by IaxFenris
I understand that you have to make a comparision to give the statement a meaning.
This might be an error in the Jedi-SDL documentation.

Edit:
Code:
if (image.format.palette and screen_.format.palette) = screen_.format.palette then
I took a second look at your statement and I think you did not consider that and expects integer as operands and even your altered code fragment won't compile.
Actually I have never used SDL and made the mistake of taking for granted that .palette was an integer or an integer typeable item (such as a set witch you can also and on). Looks like savage posted what should be the proper version though .

- Jeremy