Posts: 320
Threads: 24
Joined: Feb 2005
Apparently, you can declare functions in TYPES. How do you implement the functions and call them?
I already tried function pointers.
.14159265358979323846264338327950288419716939937510582709445
Glarplesnarkleflibbertygibbertygarbethparkentalelelangathaffendoinkadonkeydingdonkaspamahedron.
Posts: 922
Threads: 15
Joined: Jun 2003
See the examples/funcptr.bas file. If you declare the pointer, you have to initializate it before dereferencing.
FB's reg allocator module is an example of fake-classes, but it may look a bit complex to follow:
http://cvs.sourceforge.net/viewcvs.py/fb...iew=markup
Posts: 3,288
Threads: 167
Joined: Nov 2001
Quote:See the examples/funcptr.bas file. If you declare the pointer, you have to initializate it before dereferencing.
FB's reg allocator module is an example of fake-classes, but it may look a bit complex to follow: http://cvs.sourceforge.net/viewcvs.py/fb...iew=markup
:o :o :o :o :o
Can't wait!!