Tuesday, October 19, 2010

jBase Command BITCHECK

BITCHECK returns the current value of a specified bit from the local bit table.

Command Syntax

BITCHECK (table_no)

Synatax Element

table_no specifies the position in the table of the bit for checking.

Notes

For each process, it maintains a unique table of 128 bits (numbered 1 to 128) and treats each bit in the table as a two-state flag - the value returned will always be zero or one.
BITCHECK also provides some special functions if you use one of the following table_no values:
-1 => returns the setting of the BREAK key Inhibit bit
-2 => returns the setting of the Command Level Restart feature
-3 => returns the setting of the Break/End Restart feature

Example

BIT.VAL = BITCHANGE (100)
CRT BIT.VAL
If bit 100 in the table is zero, it displays zero; if set to one, it displays one.

0 comments:

Post a Comment

 

Blog Info

A Pakistani Website by Originative Systems

Total Pageviews

Tutorial Jinni Copyright © 2015 WoodMag is Modified by Originative Systems