Thank you for taking all the time to enhance the scripts even if this includes some hair pulling hours!
I didn't know of the multi-line trick, I use log extensively to manage lists with append, remove and unique flags. In a form I can do a combination of select and text field: pulling a list as selects and add a new keyword to that list with log - very nice. There is only one single advantage of log. It allows to manage lists with just values (no keys). I cannot do that with vars. Therefore, I can live without multiline support (for chunks of formatted text I can use vars or create a new page). But I would miss the opportunity to provide my kind of delimiter. Greetings, Martin Am Dienstag, 18. Februar 2014 13:59:04 UTC+1 schrieb Dan: > > Ok, decided to post this as another topic. Looking at the log function, I > see we have it trying to do a lot of things. > > First, it is designed to allow any kind of delimiter (not just "\n"). > Second, it allows you to log multiple lines with a trick like: > content=line1\nline2 (and it replace '\n' with "\n"). > > Both of these really complicate things. Does anyone use either? > > Part of my goal for 4.xx was to strip out features that added more > complexity than power and these both seem just like that. The first seems > like something that could be handled more effectively with some custom > code. And the second could be better served by using content=line1<br>line2 > (which I actually use a fair bit). This retains full use of the flags. > > I'm thinking about stripping both of these out and streamlining the code. > It is way more complex than it needs to be. And I really like the idea of > being consistent with a concept--logs are appended lines. Data vars are > data vars. Info vars are info vars. etc. > > But thought I would solicit input first... > > Cheers, > Dan > -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/boltwire. For more options, visit https://groups.google.com/groups/opt_out.
