Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
calculate_lookup_table_keys_and_values [2026/07/04 23:42] hermann |
calculate_lookup_table_keys_and_values [2026/07/15 01:21] (current) hermann |
||
|---|---|---|---|
| Line 12: | Line 12: | ||
| ^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
| - | | Key Column Expression | [[Image Expression Type]] | The formula evaluated for each row to produce the output key, written using the [[Image Expression Type|image expression editor]]. Must be enclosed in square brackets ''[ ]'' in EGO Script. | | + | | Key Column Expression | [[Image Expression Type]] | The formula evaluated for each row to produce the output key. Must be enclosed in square brackets ''[ ]'' in EGO Script. | |
| - | | Value Column Expression | [[Image Expression Type]] | The formula evaluated for each row to produce the output value, written using the [[Image Expression Type|image expression editor]]. Must be enclosed in square brackets ''[ ]'' in EGO Script. | | + | | Value Column Expression | [[Image Expression Type]] | The formula evaluated for each row to produce the output value. Must be enclosed in square brackets ''[ ]'' in EGO Script. | |
| ===== Optional Inputs ===== | ===== Optional Inputs ===== | ||
| Line 20: | Line 20: | ||
| | Key Column Name | [[Name Type]] | None | Name of the key column in the output lookup table. If omitted, the corresponding name from the base table is used. | | | Key Column Name | [[Name Type]] | None | Name of the key column in the output lookup table. If omitted, the corresponding name from the base table is used. | | ||
| | Value Column Name | [[Name Type]] | None | Name of the value column in the output lookup table. If omitted, the corresponding name from the base table is used. | | | Value Column Name | [[Name Type]] | None | Name of the value column in the output lookup table. If omitted, the corresponding name from the base table is used. | | ||
| - | | Base Lookup Table | [[Lookup Table Type]] | None | The lookup table whose row set drives iteration. When not provided, the lowest-indexed connected [[Number Table]] (verbose form) or the first lookup table referenced by name in the expression (abbreviated form) is used — not a union of all connected tables. | | + | | Base Lookup Table | [[Lookup Table Type]] | None | The lookup table whose row set drives iteration. When not provided, the [[Number Table]] hook with the lowest list index that is connected to a **lookup table** (not a regular table) is used as the row source (verbose form), or the first lookup table referenced by name in the expression (abbreviated form) — not a union of all connected tables. Prefer this port over a ''Number Table'' hook when the table is needed only to define the row set and is not referenced in the expression, to keep abbreviated syntax available. | |
| ===== Output ===== | ===== Output ===== | ||
| Line 53: | Line 53: | ||
| ==== Available expression features ==== | ==== Available expression features ==== | ||
| - | Identical to [[Calculate Lookup Table Values]]: arithmetic and logical operators, scalar references (''vX''), lookup table queries (''tX[...]'') in all single-key and multi-column forms, and the ''line'' and ''column'' row-context keywords are available. Image operators (''iX''), neighbourhood functions, neighbourhood indexing, and convolution are not available. See [[calculate_functors#the_expression_language|The Expression Language]] for the complete reference, or [[Image Expression Type]] for the navigable operator index. | + | Identical to [[Calculate Lookup Table Values]]: arithmetic and logical operators, scalar references (''vX''), table and lookup table queries (''tX[...]'') in all single-key and multi-column forms, and the ''line'' and ''column'' row-context keywords are available. Image operators (''iX''), neighbourhood functions, neighbourhood indexing, and convolution are not available. See [[calculate_functors#the_expression_language|The Expression Language]] for the complete reference, or [[Image Expression Type]] for the navigable operator index. |
| ==== Null value handling ==== | ==== Null value handling ==== | ||