Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an understanding problem..
struct tTest ( fnptr = undefined, fn tst = ( fnptr() ), fn setfnptr func = ( fnptr = func ) ) fn TestFoo = ( print "TestFoo" ) foo = tTest() foo.setfnptr TestFunc foo.tst()
Why is "TestFoo" printed out twice?
btw, the foll. does the same:
xyx = TestFoo xyx()
How can I be sure, the function will only be called once?
Solved! Go to Solution.
