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

SetString – PB Docs 2022 – PowerBuilder Library

SetString – PB Docs 2022

SetString

Description

Frees an existing string and assigns a new string value to it by
performing a deep copy.

Syntax

Argument

Description

string

A valid pbstring variable whose value is to be
replaced

src

The string to be assigned to string

Return value

PBXRESULT. Returns PBX_OK for success or PBX_E_INVALID_ARGUMENT if
the new string value is invalid; otherwise, returns
PBX_E_OUTOF_MEMORY.

Examples

This example uses the IPB_Session SetString method to set the
ret_val string to the return value in the PBCallInfo structure. It also
uses the IPB_Value SetPBString method to set values in
PBCallInfo:

Usage

A deep copy is performed. The existing value is destroyed first,
and then the contents of the src argument are copied into a new
value.

See also

NewString


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