Re: I can't set the variable
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62986
interpreted = N
texte = Did you define [DATE_IN] and [DATE_OUT] higher up on the page?This worked for me:[math]DATE_IN=732557[/math]
[math]DATE_OUT=732560[/math]
[math][DATE_OUT]-[DATE_IN][/math] days
[text]numdays=[math][DATE_OUT]-[DATE_IN][/math][/text]numdays=[numdays]output:7325577325603 daysnumdays=3On Sep 10, 2005, at 10:28 PM, sbraun wrote:Hello Folks,How come I can't set this variable?[numdays] should equal 3, but I can't set it.I've read a bunch of the archives with no insight.What's my problem?Thanks.code isDATE_IN=[DATE_IN]
DATE_OUT=[DATE_OUT]
[math][DATE_OUT]-[DATE_IN][/math] days
[text]numdays=[math][DATE_OUT]-[DATE_IN][/math][/text]numdays=[numdays]output isDATE_IN=732557DATE_OUT=7325603 daysnumdays=0-------------------------------------------------------------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://webdna.smithmicro.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Did you define [DATE_IN] and [DATE_OUT] higher up on the page?This worked for me:[math]DATE_IN=732557[/math]
[math]DATE_OUT=732560[/math]
[math][DATE_OUT]-[DATE_IN][/math] days
[text]numdays=[math][DATE_OUT]-[DATE_IN][/math][/text]numdays=[numdays]output:7325577325603 daysnumdays=3On Sep 10, 2005, at 10:28 PM, sbraun wrote:Hello Folks,How come I can't set this variable?[numdays] should equal 3, but I can't set it.I've read a bunch of the archives with no insight.What's my problem?Thanks.code isDATE_IN=[DATE_IN]
DATE_OUT=[DATE_OUT]
[math][DATE_OUT]-[DATE_IN][/math] days
[text]numdays=[math][DATE_OUT]-[DATE_IN][/math][/text]numdays=[numdays]output isDATE_IN=732557DATE_OUT=7325603 daysnumdays=0-------------------------------------------------------------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://webdna.smithmicro.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://webdna.smithmicro.com/
WJ Starck
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:
Fufillment e-mail? (1998)
[trim]?! (2004)
Hard Questions ? (1997)
Dumb Question about Docs (1997)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)
# fields limited? (1997)
Dynamic PDFs? (2002)
WC2.0 Memory Requirements (1997)
refreshing IE with posted .tmpl (1997)
Setting Authentication Using SetMimeHeader Tag (2004)
searchable list archive (1997)
[WebDNA] Encryptng a password (2016)
[WebDNA] feature requests (2008)
Time Tracking (2003)
WC2f3 (1997)
time format (2005)
Bug Report, maybe (1997)
Need help with emailer- 2 issues (1997)
Search returns all, not 20 (1997)
WebCat2 Append problem (B14Macacgi) (1997)