Synthesis and anticonvulsant activity of some substituted lactams and amides.