• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1552
  • Last Modified:

how to get the length of byte array ?

how can I get the equivalent of this statement

dim b as Byte
dim b1() as byte

I do use LenB(b) and I get the correct value , when I use LenB(b1) - error. How can I use this function LenB or any equivalent on a byte array to get the desired result ?
1 Solution
Guy Hengel [angelIII / a3]Billing EngineerCommented:
bl.ubound  gives the upper array index, while bl.lbound will give the lower bound
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now