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:
% (mod) was looping table rows (1999)
[ModDate] & [ModTime] ? (1997)
[WebDNA] Dynamic vertical columns (2008)
Re:no template caching (1997)
WebCatalog Use Question (1997)
Help name our technology! I found it (1997)
[WebDNA] SendMail Problems, 453 (2016)
Looping Search Results - Duh! (2000)
[TaxableTotal] - not working with AOL and IE (1997)
Which version to buy? (2000)
writing db to disk (1997)
Security Question (1997)
[append] (1997)
[WebDNA] webDNA and JSON (2011)
Merging databases (1997)
WebCat2 as a chat server? (1997)
Search Trouble (2002)
b12 cannot limit records returned and more. (1997)
Sendmail truncation in Eudora Clients (1998)
RE: Answer: WebDelivery downloads alias, not original ? (1997)