Re: [WebDNA] passing a variable in an include - precedence
This WebDNA talk-list message is from 2015
It keeps the original formatting.
numero = 112521
interpreted = N
texte = 89>> The main issue for discussion is that when passing a variable>> in an include>> >> [include file=somefile.inc&var=somevalue]>> >> You can’t overwrite the var value with a text context>> [text]…[/text] within somefile.inc.This is not a big deal. There is nothing wrong with the way itworks now. You can easily set the var value before the includetag like I always do, then you can override it inside the includefile all you want:[text]var=somevalue[/text][include somefile.inc]And if for some reason it "bothers you" that [var] will have avalue below the include tag, just undo it like this:[text]var=somevalue[/text][include somefile.inc][text]var=[raw][var][/raw][/text]Regards,Kenneth GromeWebDNA Solutionshttp://www.webdnasolutions.comWeb Database Systems and Linux Server Administration---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list
.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us.
Associated Messages, from the most recent to the oldest:
89>> The main issue for discussion is that when passing a variable>> in an include>> >> [include file=somefile.inc&var=somevalue]>> >> You can’t overwrite the var value with a text context>> [text]…[/text] within somefile.inc.This is not a big deal. There is nothing wrong with the way itworks now. You can easily set the var value before the includetag like I always do, then you can override it inside the includefile all you want:[text]var=somevalue[/text][include somefile.inc]And if for some reason it "bothers you" that [var] will have avalue below the include tag, just undo it like this:[text]var=somevalue[/text][include somefile.inc][text]var=[raw][var][/raw][/text]Regards,Kenneth GromeWebDNA Solutionshttp://www.webdnasolutions.comWeb Database Systems and Linux Server Administration---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us.
Kenneth Grome
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:
No Data Results (1997)
Show shoppingcart after remove last item (1997)
Windows 2.1b2 Append Bug? (1997)
headers (2000)
Storebuilder (2000)
db security on NT (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Using Eudora instead of Emailer, and cron facility (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
File Upload (1997)
[WebDNA] Still having problems (2008)
Protecting webdelivery (1997)
Hiding HTML and page breaks (1997)
wild question (1998)
Crashing Server (2000)
Showif dates... (2002)
[WebDNA] unique words (2009)
[WebDNA] 30 Minute Cookies (2016)
Browser Problem?!? Still getting Error message using (1997)
test (2001)