Re: Assigning carts

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17053
interpreted = N
texte = >On 4/14/98 10:58 PM, Kenneth Grome wrote: > >>This should work too ... >> >>[founditems] >>UniqueNumber = [cart][index] >>[/founditems] > >I just wasn't sure that either of these would guarantee a unique number, >not knowing how the number was generated. So I went like this. > >[founditems] >[writefile [index]A[cart]] >blah blah blah >[/founditems] > >I was worried that the cart could possibly generate a duplicate just >adding 1 digit to the end.Yes, actually you're right, since the cart does NOT always have the same number of digits, your method of adding an alphabetic character will do the trick better ... :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: Assigning carts (Kenneth Grome 1998)
  2. Re: Assigning carts (Bob Minor 1998)
  3. Re: Assigning carts (Kenneth Grome 1998)
  4. Re: Assigning carts (PCS Technical Support 1998)
  5. Assigning carts (bob 1998)
>On 4/14/98 10:58 PM, Kenneth Grome wrote: > >>This should work too ... >> >>[founditems] >>UniqueNumber = [cart][index] >>[/founditems] > >I just wasn't sure that either of these would guarantee a unique number, >not knowing how the number was generated. So I went like this. > >[founditems] >[writefile [index]A[cart]] >blah blah blah >[/founditems] > >I was worried that the cart could possibly generate a duplicate just >adding 1 digit to the end.Yes, actually you're right, since the cart does NOT always have the same number of digits, your method of adding an alphabetic character will do the trick better ... :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

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:

Date Sorting (1997) [isfile] ? (1997) Changes to the List (1997) Encyption mail was Suggestions for Topics ... (1998) webcat- multiple selection in input field (1997) RE: [WebDNA] Still having problems (2008) The old multiple selection bit (2000) Help formatting search results w/ table (1997) WebCatalog for Postcards ? (1997) WCS Newbie question (1997) MacOS alias identification? (1998) [WebDNA] duplicate cookies being stored in browser (2010) member access (2000) Document Contains No Data! (1997) Virtual hosting and webcatNT (1997) apostrophe in search item (1997) rotating thumbnails (1997) no global [username] or [password] displayed ... (1997) [append] vs. [appendfile] delta + question? (1997) [WebDNA] Limits? (2009)