( in DBP Trial )
True or False:
Can You pass an Array to a user function?
Cannot seem to locate a specific help file,
Detailing how ( if you can at all ).
If you can:
Could some please post a simple example...
I was trying this, I know it doesn't work...
It's just an simple example, of what I would like to expand on.
dim myArray(5) as word
COUNT = array count(myArray(0))
print COUNT
SIZE = arraysize(myArray(0))
print SIZE
wait key : end
function arraysize(someLocalVariable)
COUNT = array count(someLocalVariable)
ACTUALSIZE = COUNT + 1
endfunction ACTUALSIZE
In other languages one might use a POINTER reference,
But the HELP documentation seems sketchy at best about
pointers.
As Always any help would be appreciated...
Edit :
As I just located a DLL at Matrix1 ( the ever generous IanM's page )
that addresses at least some of my issues,
I can assume that DBPro does not have the capability
to pass arrays to user functions...
Of course if this is incorrect,
I still look forward to any help.
================
-Dejunai
================