Difference between revisions of "Test matrix"
From FollowTheScore
Line 15: | Line 15: | ||
uhui | uhui | ||
Output is: | Output is: | ||
+ | {|class=wikitable | ||
+ | !normal | ||
+ | !flipped | ||
+ | |-- | ||
+ | | | ||
{{#dplmatrix:a simple demo matrix|||| | {{#dplmatrix:a simple demo matrix|||| | ||
one | one | ||
+ | oho | ||
+ | aha | ||
+ | two | ||
+ | ehem | ||
+ | three | ||
+ | four | ||
aha | aha | ||
+ | uhui | ||
+ | }} | ||
+ | | | ||
+ | {{#dplmatrix:a simple demo matrix|||| | ||
+ | one | ||
oho | oho | ||
+ | aha | ||
two | two | ||
ehem | ehem | ||
Line 26: | Line 43: | ||
uhui | uhui | ||
}} | }} | ||
+ | |} | ||
+ | rows appear in input sequence, columns are sorted by alphabet. | ||
===Links to DPL Manual pages=== | ===Links to DPL Manual pages=== |
Revision as of 19:10, 17 December 2007
generating a matrix from an indented list
Input is:
one oho aha two ehem three four aha uhui
Output is:
normal | flipped | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
rows appear in input sequence, columns are sorted by alphabet.
Links to DPL Manual pages
Now we use two nested DPL queries to generate the indented list: