Hi All,
I am trying to implement a NOT function on a string number, but it returns errors for anything > 7FFFFFFF using Bit.Not as Bit.Not operates Integer values [Signed 4 bite]
I have added BigNumbers to the libraries and have tried the following code.
When I attempt to compile I get the following Error Message.
Parsing code. Error
Error parsing program.
Error description: Unknown type: not
Are you missing a library reference?
Occurred on line: 32
Dim Not As BigInteger
I have obviously missed something.
Thanks in advance
Regards Roger
I am trying to implement a NOT function on a string number, but it returns errors for anything > 7FFFFFFF using Bit.Not as Bit.Not operates Integer values [Signed 4 bite]
I have added BigNumbers to the libraries and have tried the following code.
B4X:
Dim Disp As String
Dim NOT As BigInteger
Sub NOTFunction
'Stuff ,,,
'Disp = Bit.Not(Disp)
Disp = Not(Disp)
' More stuff ..
End Sub
When I attempt to compile I get the following Error Message.
Parsing code. Error
Error parsing program.
Error description: Unknown type: not
Are you missing a library reference?
Occurred on line: 32
Dim Not As BigInteger
I have obviously missed something.
Thanks in advance
Regards Roger