SHOWDC   (displays last Controller reply value of previous command as decimal)

SHOW32   (displays last Controller reply value of previous command as 32 bit Binary)

               Both BTMASK and SBIT commands effect result

SHOW16   (displays last Controller reply value of previous command as 16 bit Binary)

               Both BTMASK and SBIT commands effect result

SHOW08   (displays last Controller reply value of previous command as 8 bit Binary)

               Both BTMASK and SBIT commands effect result

SHOW04   (displays last Controller reply value of previous command as 4 bit Binary)

               Both BTMASK and SBIT commands effect result

SHOW03   (displays last Controller reply value of previous command as 3 bit Binary)

               Both BTMASK and SBIT commands effect result

SHOW02   (displays last Controller reply value of previous command as 2 bit Binary)

               Both BTMASK and SBIT commands effect result

SHOW01   (displays last Controller reply value of previous command as 1 bit Binary)

               Both BTMASK and SBIT commands effect result

SHOWUI   (displays last Controller reply value of previous command as unsigned integer)

               Both BTMASK and SBIT commands effect result

SHOWHX   (displays last Controller reply value of previous command as 32 bit Hexadecimal)

               Both BTMASK and SBIT commands effect result

SHOWTX        (displays the last Controller reply as actual text returned)

Note: The SHOW commands displays values in the Terminal History window and the Global Memory Storage (if defined) window when run in the ASCII Script editor.

Alternate syntax for above SHOW32 and SHOW16 commands:

SHOW32|    ' breaks up Binary in multiple 8 bit blocks separated by | character

SHOW32|#     ' breaks up Binary in multiple 8 bit blocks separated by | character and # represents specific item if reply is ####:####:####:####

The NPBuilder application allows you to add the following macros for the expected reply for the above SHOW commands:

SHOW??, $## //some description

The $ indicates a Global Memory variable. ## is a value from 1 to 99

SHOW32, $99

This stores the generated SHOW value into the Global Memory storage index number 99.

The use of the // macro is optional. The text after the macro can be used to describe or name the Global Memory Slot.

This allows the BScript to set values in memory for use by a generated application built using the NPBuilder application. For example the data may be passed to visual components when building a No-Code application. The Visual Designer will allow one to access the Global Memory Storage of any BScript. Also in the Low-Code features of the NPBuilder application the Global Memory Storage will be accessable.

BTMASK    (display current Bit Mask as Hexadecimal value)

BTMASK=####   (set current Bit Mask to new value)

Syntax for Bit Mask value #### can be:

32000    ' decimal

0xFFFF    ' hexadecimal  (C syntax)

&HFFFF   ' hexadecimal Visual Basic syntax (and Powerbasic)

0b001010    ' Binary (C syntax)

&B001010   ' binary Visual Basic syntax

               A value of zero will turn off Bit Mask comparisons for following

               commands.

The BTMASK command Effects the following commands:

       UNTILM in a REPEAT loop.

       SHOW?? commands will have a numeric value modified by the Bitmask.

To reset the BTMASK command so it will not effect numeric comparions set the value to a negative 1.

BTMASK=-1


SBIT##        shift bits to right (low bit direction) a specific number of bits

               from 1 to 15 bits. The leftside bits will be zeroed with a shift.

               ## must be a value from 00 to 15 (always two digits). A value of zero (00)

               will turn off Bit shifting in the following SHOW commands. 


The shifting of bits will only effect the SHOW commands which display a numeric value which is binary or hexadecimal.