Page 29
-- ....
-- From the position next to 'i', search for k.
-- If above searches are all found, the result of the parameter will be the
position where 'k' is located.
If N is a string, the position evaluation of N is the same as P except that
the searching position is starting from P+1.
For both P and N, if string is defined, a value can be added to or
subtracted from the position. That following O-Strings:
"
ab...ik
"
+M
,
And
"
ab...ik
"
-M
,
Are meaningful. M is a integer number.
Example:
Suppose the following is a message to be modified:
%B012345678901234^ABEL/STEVE L MGR ^90010129999999?
in this message:
"%" is start sentinel.
"012345678901234" is account number.
"^" is a separator
6. "ABEL" is surname.
"/" is a separator.
"STEVE" is first name.
"L" is initial.
"MGR" is title
"^" is a separator.
"9001" is expiration date.
"?" is end sentinel.
The output sequence desired is:
Surname, First Name [CR] Account Number [CR] Expiration Date [CR]
The formula input will be:
IN_ID
,0,
O-STR
,
"
^
"
+1,
"
/
"
-1,
"
,
"
,
O-STR
,
"
/
"
+1,
"<
SP>
"
-1,
"<
CR>
"
,
O-STR
,3,
"
^
"
-1,
"<
CR>
"
,
O-STR
,
"
^^
"
+1,4,
"<
CR>
"
,
Enter
Here <SP> is Space character and <CR> is Carriage Return character.
The output of above input will be
ABEL,STEVE[CR]
012345678901234[CR]
9001[CR]
Содержание Hand Held Scanner
Страница 1: ...Hand Held Scanner User s Manual ...
Страница 52: ...Page E 2 RS D US E SP A B C F G H I J L 0 1 2 3 4 5 6 7 8 9 Z F G H I ...
Страница 53: ...Page E 3 J V A B C D E F G H I J K L M N O P Q R S T U V W X Y Z K L M N _ O ...
Страница 56: ...Version 3 2 Date March 21 2003 ECO 00305 P N 400264G ...