Qbasicnews.com
July 08, 2020, 07:04:17 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Redim of Function Pointer Arrays  (Read 1066 times)
lkd85
Member
*
Posts: 63


« on: March 08, 2005, 07:36:05 AM »

When trying to do this it gives a duplicate definition error.

Code:

'$Dynamic

Sub FPInit
Dim FPArr(0) As Function (ByVal As Integer) As Integer

numptrs = 9

Redim FPArr(numptrs) As Function (ByVal As Integer) As Integer

...Whatever...

End Sub
Logged
v3cz0r
I hold this place together
*****
Posts: 924



WWW
« Reply #1 on: March 08, 2005, 06:00:24 PM »

Fixed, changes are on CVS (SF takes up to 5 hours to update the anonymous CVS access though).

I was using a hack to handle function ptr symbol "names", now i changed to a proper one, using name mangling.
Logged

lkd85
Member
*
Posts: 63


« Reply #2 on: March 08, 2005, 08:53:51 PM »

Thanks.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!