The documentation explains several ways of passing an array from
VB to PB. Now is there a way to pass an array from PB to VB.
I want to pass the array as a function parameter? For instance,
VB's function might look like this:
The PB code would be something like:
From the help file, I see that VB uses a different type of
array descriptor, so the above would likely not work. How can
a PB array be passed? Is this something that's possible?
Here's a different question. Within PB, can you pass an array
as an argument of a function? I imagine you can, but the help
doesn't point this out (at least not where I was looking).
------------------
Daniel Corbier
UCalc Fast Math Parser
http://www.ucalc.com
VB to PB. Now is there a way to pass an array from PB to VB.
I want to pass the array as a function parameter? For instance,
VB's function might look like this:
Code:
Function VB_IRR(MyArray() as Double) As Double VB_IRR = IRR(MyArray()) End Sub
Code:
Declare Sub VBIRR(MyArray()) As Double Dim MyArray(100) As Double Call Dword AddressOfVB_IRR Using VBIRR(MyArray()) To Result#
array descriptor, so the above would likely not work. How can
a PB array be passed? Is this something that's possible?
Here's a different question. Within PB, can you pass an array
as an argument of a function? I imagine you can, but the help
doesn't point this out (at least not where I was looking).
------------------
Daniel Corbier
UCalc Fast Math Parser
http://www.ucalc.com
Comment