Re: I think I found a bug
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37070
interpreted = N
texte = Curiosity got the best of me and I played with this a bit...It looks like the max= parameter works the same in [replace] as it does in [search] -- if the max= value is not a positive integer, the parameter is ignored, resulting in all found records being listed / replaced.I would not call this a bug, just an unspecified behavior resulting from providing an out-of-range value for a parameter.- BrianAt 4:54 PM 7/9/2001, Arturo Vargas wrote:>Reading the docs I was given the impression that [replace] had the same>parameters as [search]>>and this is correct for instance I have been using successfully the max>parameter with replace. But recently some one entered 0 as the max parameter>in this [replace] and every single entry was replaced. as if the max>parameter wasn't there. I wonder if there is some kind of reason for the>number 0 to not work with the max parameter. Does any body know if this is a>bug of webcat or is there a reason for max=0 to not work.>>Arturo Vargas-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.com =>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Curiosity got the best of me and I played with this a bit...It looks like the max= parameter works the same in [replace] as it does in [search] -- if the max= value is not a positive integer, the parameter is ignored, resulting in all found records being listed / replaced.I would not call this a bug, just an unspecified behavior resulting from providing an out-of-range value for a parameter.- BrianAt 4:54 PM 7/9/2001, Arturo Vargas wrote:>Reading the docs I was given the impression that [replace] had the same>parameters as [search]>>and this is correct for instance I have been using successfully the max>parameter with replace. But recently some one entered 0 as the max parameter>in this [replace] and every single entry was replaced. as if the max>parameter wasn't there. I wonder if there is some kind of reason for the>number 0 to not work with the max parameter. Does any body know if this is a>bug of webcat or is there a reason for max=0 to not work.>>Arturo Vargas-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.com =>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Brian Fries
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:
RAM variables (1997)
Press Release hit the NewsWire!!! (1997)
ShowNext Context (2004)
Where is f2? (1997)
CSS in HTML emails? (2003)
Conditional searching & displaying (1997)
Problem displaying search result (1997)
WebCat2b12--[searchstring] bug (1997)
oops private message leaked into talk list (1997)
RE: Displaying Location (1997)
Webstar 1.3.1 PPC (1997)
Upgrade to wsV (2004)
converting tabs (1997)
Frames and WebCat (1997)
Question about [encrypt] (1998)
Random letter and/or number (2001)
Re:E-Mailer (WebCatb15acgiMac) (1997)
New Command prefs ... (1997)
Fields/Forms Processing (1998)
Tax on shipping (1998)