Xbasic

BLOB.PEEKN Function

Syntax

N peekn(N position)

Arguments

position

The position of the floating point number.

Description

Get the value of a IEEE floating point number from the blob.

Discussion

The .PEEKN() method returns the value of an IEEE 8 byte floating point number at a Position in a blob. The first position is 1.

Example

b1 = file.to_blob("C:\Wallpaper\claire_081003.jpg")
? b1.peekn(10)
= 2.67009e-307

See Also