lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Lorenzo Donati wrote:
Pierre-Yves Gérardy wrote:
On Tue, Nov 23, 2010 at 09:03, Lorenzo Donati
<[email protected]> wrote:
if not scheme:validate(record)
 then error(...) end

Wouldn"t this fit your bill?

[snip]

I"ll give it a try and post a better answer when I have time.

-- Pierre-Yves



Thank you for the prompt reply!
Best Regards,

Here"s the better answer :-)

I had to modify it substantially to adapt to my use case (still working on it), but it was a very good starting point!
Thank you very much!

--
Lorenzo