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 file2) You've nested the [include]s really really deep3) 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 illegal2) Stack space being limited, the [include] just uses up so much that there's none left, and can't execute any more WebDNA3) Change it to [include file=xx&cart=[cart]]Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>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 file2) You've nested the
[include]s really really deep3) 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 illegal2) Stack space being limited, the
[include] just uses up so much that there's none left, and can't execute any more WebDNA3) Change it to [include file=xx&cart=
[cart]]Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMasterSan Diego, CA 92128 | SiteGuard619/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:
[WebDNA] Error: Can't open order file. Ignoring [OrderFile] context Error: Error: expected [/APPLICATION], but found [/!] instead[/!] (2011)
Interfacing WebMerchant to www.fedex.com (1997)
# of real domains on 1 web server (1997)
Debugging (2005)
Search in 2 or more catalogs (1997)
WebDNA 6 and OS X Tiger (2005)
HomePage Caution (1997)
Rookie/New User Question (2003)
Hiding HTML and page breaks (1997)
TCPconnect issue (2000)
Cookie still not working (1999)
Server crash (1997)
SOP for WebDNA talk - MSNBot Crashing (2004)
Remove from list server (1997)
WebCat2b15MacPlugin - [protect] (1997)
UPS uber integration (2007)
[WebDNA] Triggers issue, or sendmail? (2012)
Help name our technology! (1997)
Snake Bites (1997)
Date problems-more (1997)