self (Object control)

References the topmost bound list, if any. If the list is callable, it will be called instead - use

@self
to get a reference to it.

Arguments

None

Return values

None

Example

"sl/control" useFile printxy: [ s:; s.x print "," print s.y print ] func; pt: { x: 1; y: 2; printpt: [ self printxy ] func; }; pt.printpt
Output:
1,2