Difference between revisions of "Manual:DIL Manual/self"
Jump to navigation
Jump to search
(XML import) |
|||
| Line 7: | Line 7: | ||
For example, if Mary has a program, then self.title equals | For example, if Mary has a program, then self.title equals | ||
"Mary the Lumberjack wife" | "Mary the Lumberjack wife" | ||
| − | |||
| − | |||
Revision as of 11:05, 23 November 2025
'self' This variable is a unitptr to the unit owning the DIL program. For C++ people, this is like the 'this' pointer. For example, if Mary has a program, then self.title equals "Mary the Lumberjack wife"