Re: can include param variables be valid [math] players?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35023
interpreted = N
texte = >can vars passed into an include like so- > >[INCLUDE file=FilePath&var1=7&var2=9] > >then successfully become part of [math] operation within that >include? or is the >var/value passing via include params restricted to string assignment only?The variables [var1] and [var2] become form variables (similar to those passed from an HTML
) inside the included file. They are accessed via [var1] and [var2]. They are not automatically put in a math context, but you can still use them as long as you surround them with brackets:[math]12+17*[var1]^[var2]-7[/math]Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: can include param variables be valid [math] players? (WebDNA Support 2000)
  2. can include param variables be valid [math] players? (John Butler 2000)
>can vars passed into an include like so- > >[INCLUDE file=FilePath&var1=7&var2=9] > >then successfully become part of [math] operation within that >include? or is the >var/value passing via include params restricted to string assignment only?The variables [var1] and [var2] become form variables (similar to those passed from an HTML ) inside the included file. They are accessed via [var1] and [var2]. They are not automatically put in a math context, but you can still use them as long as you surround them with brackets:[math]12+17*[var1]^[var2]-7[/math]Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ WebDNA Support

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:

[URL] Context not working (2000) DON'T use old cart file! (1997) problems with WebCat-Plugin (1997) PSC recommends what date format yr 2000??? (1997) [WebDNA] [BULK] Web Merchant Authorize net issues (2011) Multiple prices (1997) WebCommerce: Folder organization ? (1997) Displaying raw values (long) (1998) Getting URL's entered manually (1997) feature request-- [epoch] (2004) Re:Emailer tracking (1997) suffix mapping for NT? (1997) Cart doesn't interpret tag! (1997) WebDNA for Window 2000 Server (2003) Mirroring WebCat Servers (2001) Email encryption (1998) off topic - dna snipets (1997) This list needs a digest: rant, rave... (1997) multi-paragraph fields (1997) Webcat Manual and TeaRoom Examples Uses Different Examples. (1997)