user warning: Table './zuggsoftdb/accesslog' is marked as crashed and should be repaired query: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values('', 'node/294', '', '38.107.179.243', 0, 'p9hsf3bgjdo5ftg4qbk7n6hpq6', 14497, 1337596190) in /home/tessh/public_html/modules/statistics/statistics.module on line 64.

Documentation

Added in v3.27

bittest

Syntax: %bittest(i,bitnum)
Related: %bitset

Test a bit within a numeric value and return true if it is set, false if it is not set. bitnum starts at 1.

Example

#SHOW %bittest(4,3)
1 (True)

#SHOW %bittest(0,3)

0 (False)

Add comment

Login or register to post comments