|
On 08/11/2013 17.29, Marc Lepage wrote:
I want to read in the file, manipulate some of the members (like name, val), and then write it out again. But I want to preserve the functions (onA, onB) as they are. Any tips for how to do this?
You could do text substitutions on the source file, e.g. with string.gsub, rather than (or in addition to) loading it.
-- Enrico