in reply to Table Matching

There are many features of your OPed code that suggest it is not your real code, e.g., it cannot compile. Please post short, self-contained, compilable code examples. Please see the Short, Self Contained, Correct (Compilable), Example.

Update: Also, please use  <c> ... </c> or  <code> ... </code> tags around code, data, and input/output. Please see Markup in the Monastery and Writeup Formatting Tips. If the two OPed example data files had been so wrapped, there would have been a nice  [download] link to click for anyone who wanted to get your example data. As it is, a process of editing the posted data is needed, which may discourage many from bothering. Please help us to help you.


Give a man a fish:  <%-(-(-(-<

Replies are listed 'Best First'.
Re^2: Table Matching
by gghelpneeded (Novice) on Jul 18, 2015 at 00:06 UTC

    this was my code, i thought inserting it with my error and pointing out what i thought it was, i could be pointed in the right direction. the first part of the code works by itself. the second part before the print was part giving me the issue. do you recommend not uploading it entirely if that part does not work?

    sorry wasnt aware of the sample data also being part of the code tags

      It's not that your code doesn't work, in the sense of it not doing what you want, it's that it doesn't run as it is (copy and paste it yourself and try). Follow the links AnomalousMonk has given you and you will see what is meant.