GetContextKeywords
PowerScript function
Description
Retrieves one or more values associated with a specified
keyword.
Applies to
ContextKeyword objects
Syntax
1 |
servicereference.GetContextKeywords ( name, values ) |
Argument |
Description |
---|---|
servicereference |
Reference to the ContextKeyword service |
name |
String specifying the keyword for which the function |
values |
Unbounded String array into which the function places |
Return value
Integer.
Returns the number of elements in values if the function succeeds
and -1 if an error occurs.
Usage
Call this function to access environment variables.
Examples
This example calls the GetContextKeywords function:
1 2 3 4 5 6 7 8 9 10 11 12 |
String ls_keyword Integer li_count, li_return ContextKeyword lcx_key li_return = this.GetContextService & ("ContextKeyword", lcx_key) ls_keyword = sle_name.Text lcx_key.GetContextKeywords & (ls_keyword, is_values) FOR li_count = 1 to UpperBound(is_values) lb_parms.AddItem(is_values[li_count]) NEXT |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest