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:
Up and running ... at last !! (1997)
Just Testing (1997)
TCPConnect & TCPSend (2003)
[WebDNA] Manually push a new .db for WebDNA to adapt (2017)
bannerads example idiot (1997)
WC Database Format (1997)
Emailer (1997)
Major OT shopping cart test request. (2002)
WebCatalog sales (1997)
[TCPconnect].... (2001)
Nested Lookups (1998)
[WebDNA] Stop hacking (2013)
Archives are missing (2003)
[WebDNA] Triggers issue, or sendmail? (2012)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
Frames and WebCat (1997)
Hard Questions ? (1997)
Pithy questions on webcommerce & siteedit (1997)
[SearchString] (1998)
Just testing (2003)