From: Andreas Schwarz Date: 2004-08-23T21:00:45+09:00 Subject: Re: How to check syntax Graham Nicholls wrote: > Apologies if its a FAQ, but is there a way I can check my syntax for errors > that would otherwise only appear at runtime? You know the sort of thing: > > some code > rescue => err > exit (LOGIC_ERR) > > end > > which when run fails because LOGIC_ERR is undefined This is no syntax error, and it can only be detected at runtime.