From: James Edward Gray II Date: 2007-07-07T05:23:55+09:00 Subject: Re: Is there a name for this idiom? On Jul 6, 2007, at 3:20 PM, Lyle Johnson wrote: > When you want to move your program's startup code into a block like > so: > > if __FILE__ == $0 > # initialize and run program here > end > > What's that called? Is there a commonly used name for that > "startup" block? I have referred to such a block of code as the "application code" more than once, but I don't in anyway believe that's a standard name for it. James Edward Gray II