Difference between revisions of "Manual:DIL Manual/self"
Jump to navigation
Jump to search
(XML import of LLM wiki pages) |
|||
| 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" | ||
| + | |||
| + | ---~---~---~---~---~---~---~---~--- | ||
Latest revision as of 10:41, 4 December 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"
---~---~---~---~---~---~---~---~---