Is there a way I can access 'myself' in a udt sub call?
Sub Toon.Init()
ClassStats Toon.Fire
ClassStats Toon.Water
End Sub
[ thanks fxm ]
[solved] udt sub, access 'Me' ?
[solved] udt sub, access 'Me' ?
Last edited by dafhi on Sep 06, 2011 8:11, edited 1 time in total.
Re: udt sub, access 'Me' ?
dafhi wrote:Is there a way I can access 'myself' in a udt sub call?
Sub Toon.Init()
ClassStats Toon.Fire
ClassStats Toon.Water
End Sub
Code: Select all
Sub Toon.Init()
ClassStats This.Fire
ClassStats This.Water
End Sub
http://www.freebasic.net/wiki/wikka.php?wakka=KeyPgThis