[Implemented] procedure pointers at compile time

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
GedB
Addict
Addict
Posts: 1313
Joined: Fri May 16, 2003 3:47 pm
Location: England
Contact:

[Implemented] procedure pointers at compile time

Post by GedB »

Is it possible to have procedure pointers available at compile time, so that "@Procedure()" can be used anywhere that a constant might appear?

If a procedure pointer could be used in a datasection, it would be a handy way for constructing interface vTables.
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

You read my mind ;)

I asked Fred for this some time ago, and IIRC he said it could be added, let's hope it is :)
El_Choni
User avatar
GedB
Addict
Addict
Posts: 1313
Joined: Fri May 16, 2003 3:47 pm
Location: England
Contact:

Post by GedB »

Great news.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Confirmed.
Post Reply