FINDCHAR Examples
Example 1:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ABCDE |
|
|
|
|
|
|
TEST· |
|
|
|
|
|
|
· |
|
| |||||
|
|
|
|
|
|
ABCDE |
|
|
|
|
|
|
TEST· |
|
|
|
|
|
|
E |
The EQUAL Condition Flag is set. The last character of Item 1 (E) matched the second character of Item 2. The located character is stored in Item 3 and the Form Pointer of Item 2 is changed.
Example 2:
|
|
Variable |
PL |
FP |
LP |
|
|
|
|
5 |
1 |
4 |
HOMEX |
|
|
|
5 |
1 |
5 |
X-RAY |
|
|
|
1 |
0 |
0 |
· |
|
| |||||
|
|
|
5 |
1 |
4 |
HOMEX |
|
|
|
5 |
1 |
4 |
X-RAY |
|
|
|
1 |
0 |
0 |
· |
The EQUAL Condition Flag is cleared (FLASE) and Item 3 remains unchanged. No character in the logical string of Item 1 (HOME) was found in Item 2.
![]() |