Hi,
Can any body please tell me the difference between:
Dim Temp() as Byte
and
Dim Temp as Byte()
Also if I have to return array of bytes as in first case via a function how can it be done so.
Say,
Public Function Convert(Byval Image() as Byte) as Byte()
Return Convert
End Function
This function returns Byte array named Convert.
Now, my question is how can I return an array of bytes from a function instead of returning Byte array as shown in above example.
Thanks and Regards,
Susheelss
Can any body please tell me the difference between:
Dim Temp() as Byte
and
Dim Temp as Byte()
Also if I have to return array of bytes as in first case via a function how can it be done so.
Say,
Public Function Convert(Byval Image() as Byte) as Byte()
Return Convert
End Function
This function returns Byte array named Convert.
Now, my question is how can I return an array of bytes from a function instead of returning Byte array as shown in above example.
Thanks and Regards,
Susheelss