How implement bitwise operator (~) in Centura

forum.advanced.programming (1998-2005)
Pawel

How implement bitwise operator (~) in Centura

Post by Pawel » 14 Feb 2005, 11:54

 Posted by:  Pawel 

Hi i will implement bitwise NOT operator (~ ) in Centura :

For Example using C :
int digit, digit2;
digit=200;
digit2 = (~ digit);

How can i prepare this example in SQLWindows using only SQLWindows code?

Have somebody any ideas?

Regards,
Pawel

Thomas Lauzi

How implement bitwise operator (~) in Centura

Post by Thomas Lauzi » 14 Feb 2005, 12:11

 Posted by:  Thomas Lauzi 

If I understand you correct, you want bit negation.
See SalNumberBitNegation from SALExtension.apl

HTH
Thomas L.

Pawel

How implement bitwise operator (~) in Centura

Post by Pawel » 14 Feb 2005, 12:17

 Posted by:  Pawel 

Exactly,

Thanks Thomas

Regards,

Pawel

U¿ytkownik "Thomas Lauzi" napisa³ w wiadomo¶ci
news:dXQwwUoEFHA.468@guptaweb...

Return to “advanced.programming”

Who is online

Users browsing this forum: [Ccbot] and 1 guest