hi, ok - i have started learning to use lua with pdlua and have a question with regards to getting stuff out of the my pdlua object
in lua this works: for i, v in ipairs(self.mydata) do if string.match(v, "score = 1", 1, true) then print(v) end end so i thought if i change print(v) with pd.post(v) i would get an output in the pd terminal but no... also how would i get the output of the above to come out of outlet self:outlet(v) i would have guessed but obviously i have the wrong approach. thanks robc -- what to do on "scores" into 1st inlet: function M:in_1_scores() for i, v in ipairs(self.mydata) do if string.match(v, "score = 1", 1, true) then print(v) end end _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list