GetKey – PB Docs 2019

GetKey

PowerScript function

Description

Gets the key name.

Applies to

JSONPackage

Syntax

Argument

Description

objectname

The name of the JSONPackage object whose key you want to
obtain.

Index

A long value specifying the index of the key.

Return value

String.

Returns the key name if it succeeds and empty string (“”) if an
error occurs. If any argument’s value is null, the method returns
null.

Example

This example gets the number of keys first and then gets the name of
each key.

See also

KeyCount


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