SHOW:
|
|
- or go back to the newest paste.
| 1 | - | #macro _personMembers |
| 1 | + | |
| 2 | age as integer | |
| 3 | fname as string | |
| 4 | - | #endmacro |
| 4 | + | |
| 5 | - | #macro _pMembers |
| 5 | + | type both extends person |
| 6 | ID as integer | |
| 7 | location as string | |
| 8 | - | #endmacro |
| 8 | + | |
| 9 | ||
| 10 | - | _personMembers |
| 10 | + | |
| 11 | ||
| 12 | - | type p |
| 12 | + | |
| 13 | - | _pMembers |
| 13 | + | |
| 14 | .fname = "bob" | |
| 15 | - | type Both |
| 15 | + | |
| 16 | - | _personMembers |
| 16 | + | |
| 17 | - | _pMembers |
| 17 | + | |
| 18 | ||
| 19 | - | type Both2 |
| 19 | + |