| 1 |
*> { dg-do run } |
| 2 |
*> { dg-output-file "group2/INSPECT_CONVERTING_TO_figurative_constants.out" } |
| 3 |
identification division. |
| 4 |
program-id. clouseau. |
| 5 |
data division. |
| 6 |
working-storage section. |
| 7 |
01 item pic x(12). |
| 8 |
01 pitem redefines item pointer. |
| 9 |
procedure division. |
| 10 |
move all "abcd" to item |
| 11 |
inspect item converting "abcd" to low-values |
| 12 |
display "low-values " space """" pitem """" |
| 13 |
move all "abcd" to item |
| 14 |
inspect item converting "abcd" to spaces |
| 15 |
display "spaces " space """" pitem """" |
| 16 |
move all "abcd" to item |
| 17 |
inspect item converting "abcd" to zeros |
| 18 |
display "zeros " space """" pitem """" |
| 19 |
move all "abcd" to item |
| 20 |
inspect item converting "abcd" to quotes |
| 21 |
display "quotes " space """" pitem """" |
| 22 |
move all "abcd" to item |
| 23 |
inspect item converting "abcd" to high-values |
| 24 |
display "high-values" space """" pitem """" |
| 25 |
goback. |
| 26 |
end program clouseau. |
| 27 |
|