Re: [include ...] behavior

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13853
interpreted = N
texte = >What kind of reasons might there be this scenario: an [include ...] to not >work properly but the pasting the exact contents of that included functions >fine?Depends on what you're trying to do. Can you be more specific? I'll rub my crystal monitor here and imagine...1) You're using an [include] inside a math expression, and you use BBEdit to create the include file 2) You've nested the [include]s really really deep 3) Your included file uses [cart], and for some reason the cart# just doesn't make it throughAnswers: 1) BBEdit has the annoying habit of adding an extra carriage return to the end of a file, thus messing up the [math] context because carriage return is illegal 2) Stack space being limited, the [include] just uses up so much that there's none left, and can't execute any more WebDNA 3) Change it to [include file=xx&cart=[cart]]Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [include ...] behavior (Dale LaFountain 1997)
  2. Re: [include ...] behavior (Christer Olsson 1997)
  3. Re: [include ...] behavior (Luke Melia 1997)
  4. Everyone: List Traffic (was Re: [include ...] behavior) (Grant Hulbert 1997)
  5. Re: [include ...] behavior (Nevin Lyne 1997)
  6. Re: [include ...] behavior (wahl@dnai.com (Bernt Wahl) 1997)
  7. Re: [include ...] behavior (Luke Melia 1997)
  8. Re: [include ...] behavior (Christer Olsson 1997)
  9. [include ...] behavior (Luke Melia 1997)
  10. Re: [include ...] behavior (Grant Hulbert 1997)
>What kind of reasons might there be this scenario: an [include ...] to not >work properly but the pasting the exact contents of that included functions >fine?Depends on what you're trying to do. Can you be more specific? I'll rub my crystal monitor here and imagine...1) You're using an [include] inside a math expression, and you use BBEdit to create the include file 2) You've nested the [include]s really really deep 3) Your included file uses [cart], and for some reason the cart# just doesn't make it throughAnswers: 1) BBEdit has the annoying habit of adding an extra carriage return to the end of a file, thus messing up the [math] context because carriage return is illegal 2) Stack space being limited, the [include] just uses up so much that there's none left, and can't execute any more WebDNA 3) Change it to [include file=xx&cart=[cart]]Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

PCS Frames (1997) Maybe minor bug report (1997) WCS Newbie question (1997) Emailer (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) Calculating multiple shipping... (1997) Webten + Webcat running smooth (1998) Appending space (1998) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) New syntax feedback for 4.0 (2000) Authorize.net, SIM, tcpconnect and applescript (2003) Incrementing a number (1998) If Else Statement... (2004) [returnraw] and form variables (1998) year 2000 + and webmerch, macauth? (1998) Bug Report, maybe (1997) [WebDNA] [OT] iTools FTP question (2010) [WebDNA] set HTTP-Status Code from webdna (2016) PSC recommends what date format yr 2000??? (1997) [WebDNA] How to activate error logging (2019)