Binary read (Language Help)

by Jim ⌂ @, Russell, KY, Thursday, October 18, 2012, 14:16 (1858 days ago) @ Gordon

Try the following...

print xr(0,255)
print xr(1,255)
end

function xr(p,q)
xr = (p&(~q))|((~p)&q)
end function

XOR is already an operator so you have to call the function something else.


Complete thread:

 RSS Feed of thread

powered by my little forum