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 Solutions ... sorry! (1997)
Carriage Returns on mail receipt (2002)
Document Contains No Data! (1997)
carriage returns in data (1997)
Followup question re: checksum for credit cards? (1997)
WebCommerce: Folder organization ? (1997)
[quantity] within formulas (1997)
Server problem? (1998)
RequiredFields template (1997)
Last Minute addition to WildWebCAT98... (1999)
F3 crashing server (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Associative lookup style? + bit more (1997)
I'm tired of all this! (2000)
A two part question (1999)
ReturnRaw, download link for mov (2007)
hidden databases (2000)
How To question on setting up downloads (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
Textarea Breaks (2000)