4D v13.4GET LIST ITEM PARAMETER ARRAYS |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
GET LIST ITEM PARAMETER ARRAYS
GET LIST ITEM PARAMETER ARRAYS
The GET LIST ITEM PARAMETER ARRAYS command lets you retrieve all the parameters in a single call (as well as, optionally, their values) that are associated with the itemRef item in the hierarchical list whose reference or object name is passed in the list parameter. Parameters associated with items store additional information about each item. They are set using the SET LIST ITEM PARAMETER command. If you pass the first optional * parameter, this indicates that list is an object name (string) corresponding to a list representation in the form. If you do not pass this parameter, this indicates that list is a hierarchical list reference (ListRef). If you use a single list representation or work with structural items (second * omitted), you can use either syntax. However, if you use several representations of the same list and work with the current item (second * passed), you must use the syntax based on the object name because each representation may have its own current item. GET LIST ITEM PARAMETER ARRAYS returns parameters set for the itemRef item in the arrSelectors text array. When the arrValues text array is passed, the command uses it to return the values associated with these parameters. arrValues must be a text type array. If you have associated values that are not Text (number or Boolean), they are converted to strings (True="1", False="0"). Given the following hierarchical list: <>HL:=New list For more simplicity, the list was associated with a list object having the same name ("<>HL"). ARRAY TEXT(arrParamNames;0) If you want to get the parameter values as well, you write: ARRAY TEXT(arrParamNames;0) |
PROPERTIES
Product: 4D
INDEX HISTORY
SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||