Re: Bug with periods in [math] variable names

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37602
interpreted = N
texte = on 8/1/01 12:19 PM, John Peacock at jpeacock@rowman.com so noted...>> [math]var.1=20[/math] doesn't work >> [text]var.1=20[/text] does. > > See http://betadoc.smithmicro.com/MathContext.html, third paragraph. > > Suprisingly, the DOCUMENTED behavior is that you can only use text and > numbers (specifically text followed by number) for math variables.After using valid math variables like [var_1] for so long, I didn't even think to look (of course, had I gone by the docs, I wouldn't have been using underscores either ; ) on 8/1/01 7:15 PM, Grant Hulbert at grant@hulbertfamily.com so noted...>> 3- Math variable names cannot begin with a numeric digit, yet no other >> variables have this limitation. > > x*7 := multiply variable x times the number 7 > x*7y :: is it x*7 followed by y, or is it x times variable 7yI can see the logic in this and how it creates the limitation -- I always bracket math variables inside the [math] context which (if required) would eliminate the ambiguity.[math][x]*7[/math] [math][x]*[7y][/math] What I ended up doing for this current project was using [text] variables inside the [math] context, which works just fine.[text]var.1=20[/text] [math][var.1]*5[/math] Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- 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: Bug with periods in [math] variable names (Rob Marquardt 2001)
  2. Re: Bug with periods in [math] variable names (Grant Hulbert 2001)
  3. Re: Bug with periods in [math] variable names (Kenneth Grome 2001)
  4. Re: Bug with periods in [math] variable names (John Peacock 2001)
  5. Bug with periods in [math] variable names (Rob Marquardt 2001)
on 8/1/01 12:19 PM, John Peacock at jpeacock@rowman.com so noted...>> [math]var.1=20[/math] doesn't work >> [text]var.1=20[/text] does. > > See http://betadoc.smithmicro.com/MathContext.html, third paragraph. > > Suprisingly, the DOCUMENTED behavior is that you can only use text and > numbers (specifically text followed by number) for math variables.After using valid math variables like [var_1] for so long, I didn't even think to look (of course, had I gone by the docs, I wouldn't have been using underscores either ; ) on 8/1/01 7:15 PM, Grant Hulbert at grant@hulbertfamily.com so noted...>> 3- Math variable names cannot begin with a numeric digit, yet no other >> variables have this limitation. > > x*7 := multiply variable x times the number 7 > x*7y :: is it x*7 followed by y, or is it x times variable 7yI can see the logic in this and how it creates the limitation -- I always bracket math variables inside the [math] context which (if required) would eliminate the ambiguity.[math][x]*7[/math] [math][x]*[7y][/math] What I ended up doing for this current project was using [text] variables inside the [math] context, which works just fine.[text]var.1=20[/text] [math][var.1]*5[/math] Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- 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/ Rob Marquardt

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:

& in grep (2003) 2.0 Info (1997) Secure Server (1997) WebCat2final1 crashes (1997) Mozilla Firefox problem (2004) Country & Ship-to address & other fields ? (1997) WebCat2b13MacPlugIn - syntax to convert date (1997) Thanks ! (1997) Search Command, multiple dbs, etc. --still confused (2000) Setting up shop (1997) SiteGaurd file Cache vs webcatalog cache (1997) International Orders (1998) frames & carts (1997) read and write you own cookies with webcat (1997) WebCat2: Items xx to xx shown, etc. (1997) New to WebDNA.. Dreamweaver Extensions? (2005) Banners and sort of random display (1997) mass mailing (1998) ListWords passing multi values in one form field (2000) PSC recommends what date format yr 2000??? (1997)