Xbasic

BLOB.POKED Function

Syntax

N poked(N position,N Value)

Arguments

position

The position to write the data.

Value

A 32 bit value.

Description

Set the value of a 32-bit word of the blob.

Discussion

The .POKED() method sets a 32 bit double word at Position in a blob to a value. The first position is 1.The .POKED() method does not change the size of the blob. Use the <BLOB>.RESIZE() method to change the size of a blob.

Example

b4 = file.to_blob("C:\Wallpaper\ruth_2_081003.jpg")
b4.poked(10,12345)

See Also