| 1 |
/* |
| 2 |
* Object modification test - modify an external object |
| 3 |
*/ |
| 4 |
|
| 5 |
modify obj2 |
| 6 |
p1 = "This is modified obj2.p1 - inheriting: << inherited.p1 >>" |
| 7 |
p2 = "This is modified obj2.p2 - inheriting: << inherited.p2 >>" |
| 8 |
p3 = "This is modified obj2.p3 - inheriting: << inherited.p3 >>" |
| 9 |
; |
| 10 |
|
| 11 |
modify obj2 |
| 12 |
replace p2 = "This is replaced+modified obj2.p2 - inheriting: |
| 13 |
<< inherited.p2 >>" |
| 14 |
p1 = "This is doubly-modified obj2.p1 - inheriting: <<inherited.p1>>" |
| 15 |
; |
| 16 |
|
| 17 |
|
| 18 |
modify obj3 |
| 19 |
p1 = "objmod2-modified obj3.p1 - inheriting: <<inherited.p1>>" |
| 20 |
replace p2 = "objmod2-replaced obj3.p2 - inheriting: <<inherited.p2>>" |
| 21 |
replace p3 = "objmod2-replaced obj3.p3 - inheriting: <<inherited.p3>>" |
| 22 |
; |
| 23 |
|