From: Armin Roehrl Date: 2001-11-03T08:26:54+09:00 Subject: [ruby-talk:24230] Re: inline comments, IDs On Saturday 03 November 2001 00:17, you wrote: > Hi, > > How to: > > 1. > I have a long line of code (I know I know ;) ), and want to comment out > a span. > How to write an inline comment with begin and end? =begin comments comments =end > > 2. > ID: something (digits and word characters or whatever) that's guaranteed > to be unique for the time the program runs. (random numbers could be > duplicate) How often do you start the prog.? The number of s or ms .. that have passed since the Unix big-bang? (read current time in s since 19..) or .. if you seed your RNG with the current-time? unless you write a high-security banking app.. I wouldn't worry too much about "mathematically guaranteed" uniquness.. > > Tobi -- Armin. ----------------------------------------------- Armin Roehrl, http://www.approximity.com "The best way to predict the future is to invent it." --Alan Kay