PROGRAMMING FOR EXPERT USERS
B
Examples
The string transmitted is
S
12345abcdef3790
T
and corresponds to the #DS function,
as defined in the programming language.
1) expression
Ö
SSTR<#DS,1,5> + SSTR<#DS,11,15> + SSTR<#DS,6,9>
result
Ö
S
12345f3790abcd
T
2) expression
Ö
FSTR<#DS,
S
616263
T
,
S
616263
T
, 0> + SSTR<#DS,LSTR<#DS>
-3, LSTR<#DS>
result
Ö
S
abc3790
T
3) expression
Ö
FSTR<#DS,
S
616272
T
,
S
616261
T
, 0>
result
Ö
ST
null string
4) expression
Ö
#DS - FSTR<#DS,
S
616263
T
,
S
6566
T
, 0>
result
Ö
S
123453790
T
During the format definition the decoded string represented by #DS does not change.
Using Format Output in Format Definition
The input used by the above functions to define the code formatting usually
corresponds to the decoded code (#DS). Actually, the formatting expression of each
function can also format the result (output) produced by a preceding code formatting.
The format output is represented as follow:
#F<n>
, where:
<n> = format number in the range
1-4
#F = format output
Being Format 5 not included in other format expression, the format number is in the
range 1-4. Furthermore, since a format expression operates upon the output of the
preceding formats, the expression defining Format 1 will never contain the result of
another format.
Example
The following expression is used to define Format 3:
#DS + FSTR<#F2,
S
6173
T
,
S
6263
T
, 0>
The expression input consists of the decoded code and the result produced by
Format 2 (#F2).
The FSTR function searches for a defined substring within the #F2 result; then, it
concatenates this substring and the decoded code. The result corresponds to #F3
output
.
169
Summary of Contents for lynx bt
Page 1: ...Lynx BT Reference Manual...
Page 2: ......
Page 3: ...Lynx BT REFERENCE MANUAL...
Page 12: ...GENERAL VIEW LYNX BT OM 1000 BT Radio Connection est Button Status LEDs T x...
Page 20: ...xviii...
Page 200: ...AUTOSCAN PATTERN CODE s...