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:

[WebDNA] User sessions - cookies only or cookies and a sessions.db? (2016) Webcat & MySQL Stored Procedures question -again (2005) Sku numbers (1997) if else problem :- Version1 (2003) default value from Lookup (was Grant, please help me) (1997) Help name our technology! (1997) Web Logs (1998) how to check for no value while using [URL] to prevent cr (1999) SSL/Non-SSL Database problems (2005) Security Issue (1999) Signal Raised error (1997) Kaaaaahhhhhhhnnnnnnn! (1997) Error:Too many nested [xxx] contexts (1997) Weird Math and SV (1997) Running a store on BOTH http and https (1998) Questions! (2000) [SEARCH] Context for SKU prices not working... (1998) [Webcat 2]Next (1997) HTML Mail & Line breaks... (2004) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)