File:  [parser3project] / parser3 / tests / 406.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Fri Dec 25 22:06:15 2020 UTC (5 years, 8 months ago) by moko
Branches: MAIN
CVS tags: HEAD
tests for ^table.rename[] added (related to feature #1148)

$t[^table::create{a	b	c	a
va	vb	vc	vd}]

^t.rename[b;e]

1. ^try-catch{ $t.b }
2. $t.e

3. ^try-catch{ ^t.rename[ $.a{code} ] }

4. $t.a

^t.rename[ $.e[b] $.a[z] $.z[a] ]

5. $t.b, $t.z
6. ^try-catch{ $t.a }

7. ^try-catch{ ^t.rename[ ] }
8. ^try-catch{ ^t.rename[ z ] }
9. ^try-catch{ ^t.rename[ z ]{ z } }

E-mail: