Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetByte – PB Docs 126 – PowerBuilder Library

GetByte – PB Docs 126

GetByte PowerScript function

Description

Extracts data of type Byte from a blob
variable.

Syntax

Argument

Description

blobvariable

A variable of the Blob datatype
from which you want to extract a value of the Byte datatype

n

Tthe number of the position in blobvariable at
which you want to retrieve a value of the Byte datatype

b

Variable of the Byte datatype
in which you want to store the returned data of type Byte

Return Values

Integer. Returns 1 if it succeeds or
-1 if n exceeds the scope of blobvariable;
it returns null if the value of any of its arguments
is null.

Usage

If you want to get the value of the initial character in a
blob, you can use the Byte function without using
an argument defining the position of the character.

Examples

This example converts the text in a SingleLineEdit
to a blob before obtaining the byte value of the character at the
third position:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x