timetable.innerjoin
timetable: ttC = innerjoin (ttL, tblR)
timetable: ttC = innerjoin (ttL, tblR, Name, Value)
timetable: [ttC, iL, iR] = innerjoin (…)
Join a timetable with another tabular object, keeping matched rows.
ttC = innerjoin (ttL, tblR) returns a
timetable holding one row for every pair of rows of ttL and
tblR whose keys match, in key order. Each row carries the row
time of the row of ttL it came from, so a key matched more than
once repeats its row time and the result is generally irregular.
With no key named, two timetables join on their row times; a timetable and a table have no key in common unless one is named, since the row times are not a variable.
[ttC, iL, iR] = innerjoin (…) also
returns the rows of ttL and of tblR each row came from.
The following Name/Value pairs are accepted:
'Keys''LeftKeys', 'RightKeys''LeftVariables', 'RightVariables' Where an operand is an eventtable, or carries one on its
Events property, the result is an event table too and the
operands’ event tables are merged: an outer join keyed on the event
times and every variable the two share, ordered by those keys. The
three properties saying which variables describe the events must
agree, and the operation is refused where they do not.
Source Code: timetable