DIM hByteArray AS Byte[]
DIM anInteger AS Integer

hByteArray [ Index AS Integer ] = anInteger

Модифицирует значение с заданным индексом, хранимое в массиве.