Method plist/getIndexForKey
GETINDEXFORKEY returns the index of a parameter with the given key.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: GETINDEXFORKEY returns the index of a parameter with the
given key or -1 if the key is not found.
CALL: idx = getIndexForKey(pl, 'key')
idx = getIndexForKey(pl, pl)
EXAMPLES:
1) idx = pl.getIndexForKey('foo') % get the parameter with key 'foo'
2) idx = pl.getIndexForKey(plist('key', 'WIN')) % get the parameter with key 'WIN'
Parameters Description
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details |
|
Access |
public |
Defining Class |
plist |
Sealed |
0 |
Static |
0 |
Parameter Description
Sets for this method … |
Default |
Default |
no description |
Key |
Default Value |
Options |
Description |
KEY |
'' |
none |
The key of the parameter to get the index of. |
back to top
Some information of the method plist/getIndexForKey are listed below: |
Class name |
plist |
Method name |
getIndexForKey |
Category |
Helper |
Package name |
ltpda |
VCS Version |
8ab8cbbc4bccf7543491a24448f4aae0b1be1c43 |
Min input args |
1 |
Max input args |
-1 |
Min output args |
1 |
Max output args |
-1 |
|
Method: plist/getAllKeys |
|
Method: plist/getKeys |
 |
©LTP Team