You can use outerjoin() function to compare two tables and find the differences.
Here's an example code:
main.m406 chars13 lines
The output should be:
main.m150 chars6 lines
Here, the outerjoin() function compares both tables based on their Var1 variable which contains the same values. The LeftVariables parameter specifies which variables should be included from the left table (table1), and the RightVariables parameter specifies which variables should be included from the right table (table2). The difference table contains the differences between the two tables, in this case, the modified value of Var1 in the table2 is shown.
gistlibby LogSnag