03-09-2005, 02:43 PM
All this raised another question. Here's a piece of code:
Can I do this? Or, do I need to pass the address of ThisArray like with the @ symbol ?
Code:
TYPE SomeType
ThisField AS LONG
ThisOtherField AS STRING
END TYPE
' Static array for the sake of test, but
' Question would apply to dynamic arrays
' declared like this too.
DIM ThisArray(1 to 100) AS SomeType
DIM Sorted(1 to 100) AS SomeType
' Assuming I have a function I did called SortArray()
Sorted = SortArray(ThisArray())
Can I do this? Or, do I need to pass the address of ThisArray like with the @ symbol ?
hen they say it can't be done, THAT's when they call me ;-).
need hosting: http://www.jc-hosting.net
All about ASCII: http://www.ascii-world.com
need hosting: http://www.jc-hosting.net
All about ASCII: http://www.ascii-world.com