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 eventhink to look (of course, had I gone by the docs, I wouldn't have been usingunderscores 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 alwaysbracket math variables inside the [math] context which (if required) wouldeliminate the ambiguity.[math][x]*7[/math][math][x]*[7y][/math]What I ended up doing for this current project was using [text] variablesinside the [math] context, which works just fine.[text]var.1=20[/text][math][var.1]*5[/math]Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.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:
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 eventhink to look (of course, had I gone by the docs, I wouldn't have been usingunderscores 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 alwaysbracket math variables inside the [math] context which (if required) wouldeliminate the ambiguity.[math][x]*7[/math][math][x]*[7y][/math]What I ended up doing for this current project was using [text] variablesinside the [math] context, which works just fine.[text]var.1=20[/text][math][var.1]*5[/math]Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.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:
[WebDNA] Help with Tables (2008)
OS X Problem... (2000)
Image upload (2000)
Help name our technology! (1997)
middle (2003)
WebCatalog/Mac 2.1b2 - PIXO (1997)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
credit card (1997)
database size? (1997)
Re:no [search] with NT (1997)
Show if not working in version 4 (2002)
triggers (2003)
WCS Newbie question (1997)
Using Plug-In while running 1.6.1 (1997)
Hello??? (1997)
Snake Bites (1997)
[showif] based on data from [tcpconnect][tcpsend]? (2000)
There's a bug in the math context ... (1997)
Max Record length restated as maybe bug (1997)
WebCat B13 Mac CGI -- Frames question (1997)