Home Contents | # bis:seqNr | Bis | Core4 Lua Event System

## SYNOPSIS

1. nr = bishandle:seqNr()
2. bishandle:setSeqNr(nr)

## DESCRIPTION

### Master mode

The first form returns the sequence number used for the next message exchanged with a slave.

The second form can be used to meddle with the current sequence number. This not neccessary for normal use.

### Slave mode

The first form returns the sequence number of the last message received from the master.

The second form has no effect.

## RETURN VALUE

The first form returns a number from 0 to 255.