<HTML>
<div><style> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }</style>Aah, right.</div><div><br>
</div><div>I'm probably being rather dumb here from not having used them before, but do you mean things like this?<br>
<span style="font-weight: bold;"><br>
</span><span style="font-family: Courier New;"><span style="font-weight: bold;">type</span><br>
TNewClass = <span style="font-weight: bold;">class</span></span></div><div><span style="font-family: Courier New;"> <span style="font-weight: bold;">function </span>Special: Boolean; <span style="font-weight: bold;">static</span>;<br>
</span></div><div><span style="font-family: Courier New;"><span style="font-weight: bold;">end</span>;<br>
</span></div><br>
I gather you can't access Self in such methods.<br>
<br>
Gareth aka. Kit<br>
<br>
<br>
<span style="font-weight: bold;">On Sat 28/07/18 20:37 , "Sven Barth" pascaldragon@googlemail.com sent:<br>
</span><blockquote style="BORDER-LEFT: #F5F5F5 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT:0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px"><div dir="auto"><div><div class="gmail_quote"><div dir="ltr">J. Gareth Moreton <<a href="javascript:top.opencompose('gareth@moreton-family.com','','','')">gareth@moreton-family.com</a>> schrieb am Sa., 28. Juli 2018, 19:34:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I did wonder about that, but wasn't sure how it would affect things where inheritance is concerned. I dare ask, do you have an example of a class method that you would consider pure?<br>
</blockquote></div></div><div dir="auto"><br>
</div><div dir="auto">They don't have inheritance. If they have the modifier "static" they really are simply scoped functions or procedures. They can even be assigned to non-"of object" procedure variables. </div><div dir="auto"><br>
</div>
<div dir="auto">Regards, </div><div dir="auto">Sven</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>
</blockquote></HTML>