Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Error with bitwise operation
Error with bitwise operation [message #4750] Fri, 22 May 2015 20:40 Go to next message
rafs is currently offline  rafs
Messages: 69
Registered: May 2015
Member
I am using version: 1.88.0

I am getting the error: Cannot extract token from:'& 3' (# 256)

My code sets:
$dbobject->sql_where = 'col2 & 3 = 0'; // bitwise operation
Re: Error with bitwise operation [message #4751 is a reply to message #4750] Sat, 23 May 2015 09:33 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
Try the attached file ('include.library.inc') and see if that fixes your problem.

[Updated on: Sun, 24 May 2015 13:08]

Report message to a moderator

Re: Error with bitwise operation [message #4754 is a reply to message #4751] Fri, 29 May 2015 01:48 Go to previous messageGo to next message
rafs is currently offline  rafs
Messages: 69
Registered: May 2015
Member
Thank you. It is working as expected so far in my tests.
Re: Error with bitwise operation [message #4755 is a reply to message #4754] Fri, 29 May 2015 04:21 Go to previous message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
Thanks for letting me know.

Previous Topic: New record not shown when using ADD2 from MULTI2
Next Topic: Value is missing for fieldspec['type']
Goto Forum:
  


Current Time: Thu Mar 28 08:32:27 EDT 2024

Total time taken to generate the page: 0.00998 seconds