From: Robert Klemme Date: 2004-08-23T21:50:49+09:00 Subject: Re: How to check syntax "Andreas Schwarz" schrieb im Newsbeitrag news:4129dc1a$0$6639$9b4e6d93@newsread4.arcor-online.net... > 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. Exactly! For completeness reasons: syntax can be checked by doing "ruby -c". Kind regards robert