Returns the value of the byte at the specified index in the string.

Syntax

<oRef>.getByte(<index expN>)

<oRef>

A reference to the String object that you’re using as a structure.

<index expN>

The index number of the desired byte. The first byte is at index number zero.

Property of

String

Description

Strings in dBL are Unicode strings, which use double-byte characters. Use getByte( ) when using a string as a structure that is passed to a DLL function that you have prototyped with EXTERN, to get the values of the bytes in the structure.