|  | The power of lists: Boost the efficiency and flexibility of your LotusScript code
by Karl-Henry Martinsson
Topic(s):Application Development; LotusScript; Programming Languages
from THE VIEW, November/December 2006, Volume 12, Issue 6
Build powerful applications quickly and easily using lists instead of arrays. When you don’t have to read or write to fields, lists offer substantial benefits over arrays, such as the ease of addressing items in a list by their unique list tags (string values) and the ability to add or remove list items without redimensioning the list. Through a series of practical, killbuilding examples, learn to parse URL parameters into a list for processing, convert an array to a list, perform a mail merge by parsing lists of placeholder parameters, build lists of NotesDocument objects, and use LotusScript classes to construct complex, nested lists. A downloadable sample database at THE VIEW Web site contains all of the code examples. |