Re: Math Help

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32521
interpreted = N
texte = The math variable is what came to mind first I guess. (First day back from vacation, the mind is not in the job yet) I tried the [text][/text] and it worked. Thanks. John Davies jd@professionalideas.com _____________________________________________ Martin Associates http://www.professionalideas.com > From: Maurice Rickard > Reply-To: (WebCatalog Talk) > Date: Wed, 31 May 2000 15:26:23 > To: (WebCatalog Talk) > Subject: Re: Math Help > > Why are you doing it as a math variable? I would have done it as > > [text]mysku=[url][getchars start=1&end=7][sku][/getchars][/url][/text] > > which would then enable you to call it later in the template as [mysku]. > > > > At 2:21 PM 5/31/00, John Davies wrote: >> Anybody have any ideas why this won't return the variable [mysku]? >> >> (sku = LT-03-S3) >> >> [math]mysku=[url][getchars start=1&end=7][sku][/getchars][/url][/math] >> [sku] >> [showif [process]=add] >> [addlineitem >> cart=[cart]&sku=[url][sku][/url]&db=../pages/maflaps.db]quantity=[quantity]& >> texta=[description][/addlineitem] >> [setheader cart=[cart]]shipcost=5.95[/setheader] >> [/showif] >> mysku=[url][getchars start=1&end=7][sku][/getchars][/url], [mysku], [sku] >> >> >> Results = LT-03-S3 , mysku=LT-03-S, [mysku], LT-03-S3 >> Expected Results = LT-03-S3 , mysku=LT-03-S, LT-03-S, LT-03-S3 >> > -- > Maurice Rickard > http://GreenMarketplace.com/ Natural products for you and your planet. > > ------------------------------------------------------------- > 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: Math Help (Kenneth Grome 2000)
  2. Re: Math Help (John Davies 2000)
  3. Re: Math Help (John Davies 2000)
  4. Re: Math Help (John Peacock 2000)
  5. Re: Math Help (Charles Kline 2000)
  6. Re: Math Help (Anup Setty 2000)
  7. Re: Math Help (Maurice Rickard 2000)
  8. Math Help (John Davies 2000)
The math variable is what came to mind first I guess. (First day back from vacation, the mind is not in the job yet) I tried the [text][/text] and it worked. Thanks. John Davies jd@professionalideas.com _____________________________________________ Martin Associates http://www.professionalideas.com > From: Maurice Rickard > Reply-To: (WebCatalog Talk) > Date: Wed, 31 May 2000 15:26:23 > To: (WebCatalog Talk) > Subject: Re: Math Help > > Why are you doing it as a math variable? I would have done it as > > [text]mysku=[url][getchars start=1&end=7][sku][/getchars][/url][/text] > > which would then enable you to call it later in the template as [mysku]. > > > > At 2:21 PM 5/31/00, John Davies wrote: >> Anybody have any ideas why this won't return the variable [mysku]? >> >> (sku = LT-03-S3) >> >> [math]mysku=[url][getchars start=1&end=7][sku][/getchars][/url][/math] >> [sku] >> [showif [process]=add] >> [addlineitem >> cart=[cart]&sku=[url][sku][/url]&db=../pages/maflaps.db]quantity=[quantity]& >> texta=[description][/addlineitem] >> [setheader cart=[cart]]shipcost=5.95[/setheader] >> [/showif] >> mysku=[url][getchars start=1&end=7][sku][/getchars][/url], [mysku], [sku] >> >> >> Results = LT-03-S3 , mysku=LT-03-S, [mysku], LT-03-S3 >> Expected Results = LT-03-S3 , mysku=LT-03-S, LT-03-S, LT-03-S3 >> > -- > Maurice Rickard > http://GreenMarketplace.com/ Natural products for you and your planet. > > ------------------------------------------------------------- > 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/ John Davies

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:

[WebDNA] Encode cookies ONLY via "method=Base64" (2008) Cart Numbers (1997) Showif date range comparison (1999) What if SSL server down? MAC (1997) RealAudio .ram files (2000) Unique SKUs (2000) Fileinfo... (2000) More on the email templates (1997) Date math (1997) Protecting databases (1999) Changing Date Format in Field (1999) WebDNA Intranet Edition public demo (2002) Running _every_ page through WebCat ? (1997) InternetWeek E-Commerce article (1998) [WebDNA] Technical References (2009) The beginning (1997) 06/06/2000 bug warning ... (2000) Date problems (1997) WebCatalog and Macromedia Flash (1998) Document Contains No Data (1998)