Xbasic

BLOB.PEEKD Function

Syntax

Double_Word_Value as N = peekd(N position)

Arguments

position

The position of the value to return.

Description

Get the value of a 32-bit word from the blob.

Discussion

The .PEEKD() method returns the value of an unsigned double word (32 bit) value at a Position in a blob. The first position is 1. This function returns a -1 if the position is past the end.

Example

b1 = file.to_blob("C:\Wallpaper\claire_081003.jpg")
? b1.peekd(10)
= 16842822

See Also