Please enable JavaScript to view this site.


void = List_SetFullText(sListVarName, sNewText)


This macro function is used to fill a list from a string where each return character will cause a new entry.


All existing entries of the list sListVarName will be cleared and replaced by sNewText.


The macro code below shows how the function List_SetFullText can be used to quickly copy the text contents of one list into another.

// copy the contents of sListA into sListB
sFullText = List_GetFullText(sListA)
List_SetFullText(sListB, sFullText)

When using lists, don't forget to always use the function List_Create to create your list at the top of the macro, and then the function List_Destroy to destroy it at the end of the macro.


See also: list macro functions.


Topic 178570, last updated on 18-Apr-2020