Added disclaimer for default behaviour of SHFT and OFFS fields (#989)

This commit is contained in:
Rea Domitrović authored and GitHub committed 2026-10-11 15:56:17 -07:00
1 parent d606ed927b
commit c74d4363d9
1 file changed
+14 -2
@@ -80,16 +80,28 @@ If bit 0 (LSB) is set, LNK0 is processed.
=item *
If bit 1 is set, LNK2 is processed.
If bit 1 is set, LNK1 is processed.
=item *
If bit 2 is set, LNK3 is processed, etc.
If bit 2 is set, LNK2 is processed, etc.
=back
=back
If not set, the SHFT field is set to -1, so bits from SELN are shifted left by 1.
=head4 Note about SHFT and OFFS fields
The first versions of the fanout record had LNK fields starting with index ONE
(LNK1). The fanout record now supports 16 links, starting from index ZERO (LNK0).
The default behaviour of the SHFT and OFFS fields was introduced for compatibility
with old databases that used fanout records with links indexed from one.
B<To use the LNK0 field when SELM = Mask, the SHFT field must be explicitly set
to ZERO.>
SELN reads its value from SELL. SELL can be a constant, a database link, or a
channel access link. If a constant, SELN is initialized with the constant value
and can be changed via dbPuts. For database/channel access links, SELN is