Re: a small clarification

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45351
interpreted = N
texte = Your first example is cleaner code, but both will work since the the & is the delimiter.- CharlesCharles Kline | http://www.rightcode.net President and CEO | phone: 856.608.7908 RightCode, Inc. | fax: 856.439.0154-- On 11/16/02 1:20 PM, Lester Emo was rumored to have said:> I've been cleaning up some code this morning and noticed I sometimes do an > append or replace using 2 different ways of coding. > > Is one more correct than the other???? > > [append db=database.db]stuff=[stuff]&morestuff=[morestuff] etc etc etc > [replace db=database.db]stuff=[stuff]&morestuff=[morestuff] etc etc etc > > or > > [append db=database.db]&stuff=[stuff]&morestuff=[morestuff] etc etc etc > [replace db=database.db]&stuff=[stuff]&morestuff=[morestuff] etc etc etc > > > the only difference is that I sometimes have used the & first and other > times I have not. > > Both work OK, and have never had a problem with either anywhere I can see . . > . > > > thanks > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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:

    
  1. Re: a small clarification (Charles Kline 2002)
  2. Re: a small clarification (Frank Nordberg 2002)
  3. a small clarification (Lester Emo 2002)
Your first example is cleaner code, but both will work since the the & is the delimiter.- CharlesCharles Kline | http://www.rightcode.net President and CEO | phone: 856.608.7908 RightCode, Inc. | fax: 856.439.0154-- On 11/16/02 1:20 PM, Lester Emo was rumored to have said:> I've been cleaning up some code this morning and noticed I sometimes do an > append or replace using 2 different ways of coding. > > Is one more correct than the other???? > > [append db=database.db]stuff=[stuff]&morestuff=[morestuff] etc etc etc > [replace db=database.db]stuff=[stuff]&morestuff=[morestuff] etc etc etc > > or > > [append db=database.db]&stuff=[stuff]&morestuff=[morestuff] etc etc etc > [replace db=database.db]&stuff=[stuff]&morestuff=[morestuff] etc etc etc > > > the only difference is that I sometimes have used the & first and other > times I have not. > > Both work OK, and have never had a problem with either anywhere I can see . . > . > > > thanks > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ Charles Kline

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:

Generating Report Totals (1997) Lookup Notfound (1998) Calculating multiple shipping... (1997) ReplaceFoundItems (2006) Add all products to cart at once? (1997) [group] ? (1997) A Global Variable (1997) WebCatalog can't find database (1997) WCS Newbie question (1997) encryption seeds xing (1998) webdna+post+WinIE6 (2004) Searching (second post) (1999) [format] problems (1998) need e-commerce recommendation (2004) authenticate (1999) WebCat2 several catalogs? (1997) WC1.6 to WC2 date formatting (1997) sendmail and attachments (2004) WebCat2b12--[searchstring] bug (1997) restarting service remotely on NT (1997)