Re: [WebDNA] Math variables

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112727
interpreted = N
texte = 310 =46rom the old programmers guide: =93 You may also create up to 150 math variables by name. These named variables can be used in any other [Math] context in the template: [Math]fred=3D12/7.5[/Math] ...other text here...[Math]fred/15.2[/Math]. = Note that the name of a math variable is limited to 15 characters in length and = must begin with a letter followed by up to 14 letters or numbers. Only the = letters az and A-Z are allowed.=94 I think WSC did some work on [math].. so some of this may be out of = date. Donovan On Apr 11, 2016, at 8:20 PM, Terry Wilson wrote: > Yes, this is something that has come up before. Another anomaly about = the math variable is that the length of the variable's name can't be = more than 15 or 16 or something thereabouts. >=20 > Terry W >=20 > On Apr 11, 2016, at 4:37 PM, Stuart Tremain = wrote: >=20 >> FYI - I have just discovered that starting a MATH variable with a = number does not work. >>=20 >> ie [MATH]3count=3D0[/MATH] will not work >>=20 >> BUT >>=20 >> [MATH]count3=3D0[/MATH] does work. >>=20 >>=20 >> I was doing some loop stuff and couldn=92t work out why the equations = were not calculating properly. >>=20 >>=20 >>=20 >>=20 >>=20 >> Kind regards >>=20 >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >>=20 >> --------------------------------------------------------- >> 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 >=20 > --------------------------------------------------------- > 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 --------------------------------------------------------- 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] Math variables (Donovan Brooke 2016)
  2. Re: [WebDNA] Math variables (Terry Wilson 2016)
  3. [WebDNA] Math variables (Stuart Tremain 2016)
  4. Re: [WebDNA] math variables bug in OSX 7.0 / 7.1 (Thierry Almy 2012)
  5. Re: [WebDNA] math variables bug in OSX 7.0 / 7.1 (christophe.billiottet@webdna.us 2012)
  6. Re: [WebDNA] math variables bug in OSX 7.0 / 7.1 (christophe.billiottet@webdna.us 2012)
  7. [WebDNA] math variables bug in OSX 7.0 / 7.1 (Thierry Almy 2012)
310 =46rom the old programmers guide: =93 You may also create up to 150 math variables by name. These named variables can be used in any other [math] context in the template: [math]fred=3D12/7.5[/Math] ...other text here...[math]fred/15.2[/Math]. = Note that the name of a math variable is limited to 15 characters in length and = must begin with a letter followed by up to 14 letters or numbers. Only the = letters az and A-Z are allowed.=94 I think WSC did some work on [math].. so some of this may be out of = date. Donovan On Apr 11, 2016, at 8:20 PM, Terry Wilson wrote: > Yes, this is something that has come up before. Another anomaly about = the math variable is that the length of the variable's name can't be = more than 15 or 16 or something thereabouts. >=20 > Terry W >=20 > On Apr 11, 2016, at 4:37 PM, Stuart Tremain = wrote: >=20 >> FYI - I have just discovered that starting a MATH variable with a = number does not work. >>=20 >> ie [math]3count=3D0[/MATH] will not work >>=20 >> BUT >>=20 >> [math]count3=3D0[/MATH] does work. >>=20 >>=20 >> I was doing some loop stuff and couldn=92t work out why the equations = were not calculating properly. >>=20 >>=20 >>=20 >>=20 >>=20 >> Kind regards >>=20 >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >>=20 >> --------------------------------------------------------- >> 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 >=20 > --------------------------------------------------------- > 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 --------------------------------------------------------- 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 . Donovan Brooke

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:

PCS Frames-Default page is solution! (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) Help formatting search results w/ table (1997) pop up building with summarize (1998) WebCat2b12 - nesting [tags] (1997) Help! WebCat2 bug (1997) Training Tapes Improved (1998) 2.0 Info (1997) Where is the secure setting for text variables? (2003) [WebDNA] Amazon EC2 (2009) [WebDNA] Quick Grep question (2009) Exclude by date - multiple (1997) WebCat B13 Mac CGI -- Frames question (1997) WebCat2 beta 11 - new prefs ... (1997) European dates (1998) Emailer setup (1997) Grouping search fields, etc. (1997) Moment of Thanks (1997) Mac: LModelDirector bug fix (1997) WebDNA Grep help wanted (2004)