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:
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
RE: LookUp Tag (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Plugin or CGI or both (1997)
[WebDNA] Send Mail and SMTP Host (2015)
WebCatalog NT beta 18 problem (1997)
Re[3]: Problem with new formvariables (2000)
Database Advice (1996)
Text data with spaces in them... (1997)
Random (2000)
Grouping search fields, etc. (1997)
PIXO support (1997)
Not really WebCat (1997)
Draft Manual, Tutorial, and more (1997)
Help name our technology! I found it (1997)
redirect from the errorsMessages.db entry (1997)
[OT] Who's got a cool link (2002)
Multiple cart additions (1997)
searching multiple databases (1997)
WYSIWYG Entry of text fields (2001)