Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Byte variable - check for array length? 1

Status
Not open for further replies.

fletchsod

Programmer
Dec 16, 2002
181
Does anyone know how to check for the length of the actual data in the Byte array?

Code:
dim bBlob() as Byte

Thanks...
 
The actual data will always be one byte.

Use Ubound to find the upper limit of the array. Is that what you are asking?

Greg
People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard
 
That's it... UBound() is what I'm looking for... It helped to know if it is empty or the actual size of the array stack when this bBlob get assigned by whatever data.

Thanks...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top