Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
select_sub_table [2015/10/12 00:26] admin |
select_sub_table [2015/10/14 03:09] admin |
||
---|---|---|---|
Line 7: | Line 7: | ||
If a sub-table corresponding to the given step is not found, the sub-table corresponding to the greatest key smaller than the given step is returned. | If a sub-table corresponding to the given step is not found, the sub-table corresponding to the greatest key smaller than the given step is returned. | ||
- | ===== Inputs ===== | + | ===== Inputs ===== |
^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
Line 30: | Line 30: | ||
^ Key1* ^ Key2* ^ Value1 ^ Value2 ^ | ^ Key1* ^ Key2* ^ Value1 ^ Value2 ^ | ||
|@lightyellow: 1 |@yellow: 12 |@yellow: "bbbb" |@yellow: 23 | | |@lightyellow: 1 |@yellow: 12 |@yellow: "bbbb" |@yellow: 23 | | ||
- | |@lightgreen: 5 |@green: 12 |@green: "cccc" |@green: 23 | | + | |@#CCFFCC: 5 |@#C5D9FF: 12 |@#C5D9FF: "cccc" |@#C5D9FF: 23 | |
- | |@lightgreen: 5 |@green: 11 |@green: "bbbb" |@green: 14 | | + | |@#CCFFCC: 5 |@#C5D9FF: 11 |@#C5D9FF: "bbbb" |@#C5D9FF: 14 | |
| 12 | 22 | "aaaa" | 23 | | | 12 | 22 | "aaaa" | 23 | | ||
Line 37: | Line 37: | ||
^ Key2* ^ Value1 ^ Value2 ^ | ^ Key2* ^ Value1 ^ Value2 ^ | ||
- | |@green: 12 |@green: "cccc" |@green: 23 | | + | |@#C5D9FF: 12 |@#C5D9FF: "cccc" |@#C5D9FF: 23 | |
- | |@green: 11 |@green: "bbbb" |@green: 14 | | + | |@#C5D9FF: 11 |@#C5D9FF: "bbbb" |@#C5D9FF: 14 | |
However, retrieving the sub-table corresponding to Key1 4 fails for [[Get Table From Key]], but returns | However, retrieving the sub-table corresponding to Key1 4 fails for [[Get Table From Key]], but returns |