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 it works now. You can easily set the var value before the include tag like I always do, then you can override it inside the include file all you want: [text]var=somevalue[/text] [include somefile.inc] And if for some reason it "bothers you" that [var] will have a value below the include tag, just undo it like this: [text]var=somevalue[/text] [include somefile.inc] [text]var=[raw][var][/raw][/text] Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2017)
  2. Re: [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2017)
  3. Re: [WebDNA] passing a variable in an include - precedence (Tom Duke 2017)
  4. Re: [WebDNA] passing a variable in an include - precedence (Stuart Tremain 2017)
  5. Re: [WebDNA] passing a variable in an include - precedence (Donovan Brooke 2017)
  6. Re: [WebDNA] passing a variable in an include - precedence (Tom Duke 2017)
  7. Re: [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2017)
  8. Re: [WebDNA] passing a variable in an include - precedence (Tom Duke 2017)
  9. Re: [WebDNA] passing a variable in an include - precedence ("Matthew A Perosi, Psi Prime" 2015)
  10. Re: [WebDNA] passing a variable in an include - precedence (Donovan Brooke 2015)
  11. Re: [WebDNA] passing a variable in an include - precedence ("Matthew A Perosi, Psi Prime" 2015)
  12. Re: [WebDNA] passing a variable in an include - precedence (Donovan Brooke 2015)
  13. Re: [WebDNA] passing a variable in an include - precedence (Matthew Perosi 2015)
  14. Re: [WebDNA] passing a variable in an include - precedence (Kenneth Grome 2015)
  15. [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2015)
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 it works now. You can easily set the var value before the include tag like I always do, then you can override it inside the include file all you want: [text]var=somevalue[/text] [include somefile.inc] And if for some reason it "bothers you" that [var] will have a value below the include tag, just undo it like this: [text]var=somevalue[/text] [include somefile.inc] [text]var=[raw][var][/raw][/text] Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug 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:

Same DB Same Time (2004) Is using [URL] recommended even on an email address? (1999) Re(4): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998) Don't tick me off :) [elaspedtime] (1997) [sendmail] (2004) WC1.6 to WC2 date formatting -FIXED! (1997) Version f1 status (1997) Web Catalog 2 demo (1997) Waitfor(ever) (2002) Maybe minor bug report (1997) FAX orders (1996) Searchable list archive (1997) Parameter Passing (2000) Frames and WebCat (1997) PCS Frames (1997) RE: type 2 errors with ssl server (1997) [WebDNA] anyone set up webdna 7 on Amazon's cloud? (2012) Where's Cart Created ? (1997) PIXO support (1997) [WebDNA] Major grep/convertchars linux issues when writing to db (2010)