Anyone ever try to set a del to "" or empty? -----Original Message----- From: "Björnke von Gierke" <[EMAIL PROTECTED]> To: "How to use Revolution" <use-revolution@lists.runrev.com> Sent: 1/15/2008 7:15 PM Subject: Re: Constructing and calling a handler as "do"
Although this does not work for handlers, for names of objects I always use space. that way I can say for example: put word 2 of the short name of button 3 -- "autoName 12" --> 12 or: clone button x set the name of it to (the short name of button x && "2") --> "originalName 2" Quite simple to write, read and edit per code... On 16 Jan 2008, at 03:14, Kay C Lan wrote: > On Jan 14, 2008 8:18 AM, Randall Lee Reetz > <[EMAIL PROTECTED]> wrote: > >> I use delimeters so that i can auto deconstruct (this is much >> slower if >> one has to filter for cap letters). >> > > This is lightning bolt brilliant! > > I've had the odd occasion where I've needed to be able to > 'interpret' and > 'manipulate' an bunch of object names and have usually resorted to > coming up > with some kind of naming convention that forces a prefix and/or > suffix to be > a fixed number of char long so I can search for 'char 1 to 3' (or 4 > or 5 > or.....because looking for the offset of the char whose charToNum fell > between the range of 65 to 90 seemed more difficult to me that just > going > with fixed length prefix/suffix) which typically resulted in names > that > weren't as self evident as I'd like. To use an underscore, change the > itemDelimiter and search by item is so staring you in the face Rev > chunk > obvious I can't believe I've spent so much time renaming things to > fit my > ever-changing fixed width prefix/suffix system. > > I'd like to try and blame Richard, for his excellent 'script style' > bible, > but midWord capitalization for me dates back to the origin of > HyperCard so > it's a habit that clearly blinded me to the advantages that could be > afforded by using a naming convention which ALSO incorporated taking > advantage of chunk expressions. > > Randall, any tips, tricks or pitfalls to using this approach? > _______________________________________________ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution