SourceForge.net Logo
April 28, 2006
© GPL
 
ProWikiCenter
Value List
 
Difference (last change) (Author, normal page display)

Added: 14a15,18
=== Programming Perl ===

There is a function SplitList that converts the string value into a Perl array.


Changed: 16c20
FolderGlossary
FolderGlossary FolderProgramming

A ValueList is a possible ValueType, the right side part of an Option (an assignment to a ProWiki variable). A ValueList consists of an arbitrary number of elements, separated by one of the separators "blank", "," or ";".

Option examples:

Notes

Of course the Variable must be designed to receive a ValueList, otherwise the behaviour may be unexpected.

It doesn't make a difference which separator you use. We suggest that you stick to a separator at least within one assigment, although mixing them won't create a problem.

A list usually is not meant to contain empty elements. Don't use a separator before or after the elements. Multiple separators between elements are treated like single separators.

Programming Perl

There is a function SplitList that converts the string value into a Perl array.


FolderGlossary FolderProgramming