Skip to content

Lookback Operators

A lookback operator (<1, <2, or <3) written in a regular table header cell reuses the value of a cell to its left — <1 goes back one column, <2 two columns, and <3 three.

The columns of a multi-column field share a common Name and Type. Merging header cells is the usual approach, but lookback operators offer another way.

DescHPStat bonuses<1<1
Namehpstats<1<1
Typeint[3]int<1<1
1100102030
25051015

The rightmost <1 points to another <1, and the chain eventually resolves to stats.

Columns belonging to a multi-column field do not need to be adjacent.

In the example below, each reward occupies two columns and the items and counts fields alternate with each other.

DescReward itemsReward counts<2<2
Nameitemscounts<2<2
Type[]string[]int<2<2
1gold100gem5
2potion3

Using <1 points into the other field, whereas <2 reuses the earlier value of the same field.