getListID macro

Use this macro to get the list ID of a Property the UserArea. This only applies to Properties of type CodeType

string getListID(long property.node)
Argument Description
Property Node The node of a previously retrieved property. Note that if the given node is not a property, or of a type for which the list ID attribute is not applicable, the result is unpredictable.

Return value: The list ID of the given property.

Example:

long    property.node
string  property.type(50)
string  list.id(20)
string  list.value(100) mb
string  description(100) mb
property.node = getFirstProperty()
while property.node <> 0
    property.type = getPropertyType(property.node)
    if property.type = "CodeType" then
        list.id = getlistID(property.node)
        list.value = getPropertyValue(property.node)
        description = getDescription(property.node)
        txppldll0003.update.code.lists(list.id, list.value, description)
    endif
    property.node = getNextProperty(property.node)
endwhile