SDELETE Examples
Example 1:
|
|
|
|
|
|
Variable |
PL |
FP |
LP |
Contents |
|
Before: |
STRING |
25 |
1 |
7 |
Delete the logical string |
|
| |||||
|
After: |
STRING |
25 |
1 |
1 |
the logical string······· |
No Condition Flags are set (all FALSE).
Example 2:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
John Quentin Public· |
|
|
|
|
|
|
8 |
|
| |||||
|
|
|
|
|
|
John Public········· |
No Condition Flags are set (all FALSE).
Example 3:
|
|
|
|
|
|
|
|
|
|
|
|
|
abcdefghijklmnopqrst |
|
|
|
|
|
|
9 |
|
| |||||
|
|
|
|
|
|
abcdefghipqrst······ |
The EOS flag is set to TRUE. The Logical String of STRING was too short to delete 9 bytes.
Example 4:
|
|
|
|
|
|
|
|
|
|
|
|
|
abcdefghij·········· |
|
|
|
|
|
|
3 |
|
| |||||
|
|
|
|
|
|
abcdefghij·········· |
The OVER Condition Flag is set. STRING was a null variable (null Logical String).
![]() |