[WebDNA] Re: [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.)

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103341
interpreted = N
texte = P.S. I tested.. and this phenom. is happening in a square-bracket include which is included from a square-bracket parent, and also from a wysiwyg parent.. so wysiwyg syntax-involvement is not the issue this time. > Version=6.1 > PLATFORM=unix-Linux Intel RedHat > > I have a problem that is forcing me to think of creative workarounds > for today's code, but more than that is disturbing in general: > > I have a perfectly normal and working [append] context.. but it is > not ending the record it appends with a newline char. I've seen > that before, but just decided to myself that it must be OK (even > though a faint voice said it was not supposed to be that way). > Once I append another record, then the previous record does get it's > delimiting newline char. > > Well now I am doing a *simple* search on this db, and it finds any > specific one record I tell it to find, UNLESS I am trying to find > that last record with no newline char at the end. If I manually add > the newline char at the end, then the search works as expected. > > Has anyone had any such experience? Suggestions? > ------------ John Butler (Govinda) govinda.webdnatalk@gmail.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (Kenneth Grome 2009)
  2. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) ("Brian Harrington, Broker" 2009)
  3. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (Kenneth Grome 2009)
  4. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (christophe.billiottet@webdna.us 2009)
  5. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (John Butler 2009)
  6. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (Stuart Tremain 2009)
  7. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (John Butler 2009)
  8. [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (John Butler 2009)
P.S. I tested.. and this phenom. is happening in a square-bracket include which is included from a square-bracket parent, and also from a wysiwyg parent.. so wysiwyg syntax-involvement is not the issue this time. > Version=6.1 > PLATFORM=unix-Linux Intel RedHat > > I have a problem that is forcing me to think of creative workarounds > for today's code, but more than that is disturbing in general: > > I have a perfectly normal and working [append] context.. but it is > not ending the record it appends with a newline char. I've seen > that before, but just decided to myself that it must be OK (even > though a faint voice said it was not supposed to be that way). > Once I append another record, then the previous record does get it's > delimiting newline char. > > Well now I am doing a *simple* search on this db, and it finds any > specific one record I tell it to find, UNLESS I am trying to find > that last record with no newline char at the end. If I manually add > the newline char at the end, then the search works as expected. > > Has anyone had any such experience? Suggestions? > ------------ John Butler (Govinda) govinda.webdnatalk@gmail.com John Butler

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

authenticating a second user (1997) Overwriting databases bug in [closedatabase], garbage filescreated (1998) all records returned. (1997) Is this possible in simple search? question? (1998) RE: E-mailer error codes (1997) Webstar 1.3.1 PPC (1997) [WebDNA] Putting '&search' into URL killing all search contexts (2010) $Replace with [founditems] (1997) authenticate and password (1998) Protecting Files (2005) Shownext from POST (2000) Help! WebCat2 bug (Ben's input) (1997) [WebDNA] Server speed (2009) Using [random] (1999) Bug Report, maybe (1997) strange problem listfiles and movefile (long) (2000) Re[2]: Encrypted links ... (2000) Exclamation point (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Running 2 two WebCatalog.acgi's (1996)