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:
Help name our technology! (1997)
Shed some light on web delivery? (2000)
[shownext max=?] armed (1997)
.. more on sliding discounts... (1997)
using WebCat for Associate Programs? (1998)
getchars broken? (1997)
Public beta 5 of WebCatalog 4.0 is now available (2000)
RE: Error: template (1997)
Been meaning to ask... (1997)
New NT beta available (1997)
Opinion: [input] should be called [output] ... (1997)
webcat pro (1998)
standard vs intertwined multithreading (1999)
RE: Webcatalog and CyberSTUD (1998)
Limiting user access to .tmpl files (1997)
temporary database? an aside (2000)
RE: Redirect (1998)
[SQL] - COUNT, SUM retrieval (2000)
WebCatalog 4.0 Users that want to talk to the Media.... (2000)
[SHOWIF] (1997)