Re: This Code Kills My WebCatalog Dead
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 46778
interpreted = N
texte = on 1/9/03 11:39 AM, Jesse Williams-Proudman at j.list@ninewire.com sonoted...> [search db=data/members.db&neIDdatarq=[blank]&max=3]> [founditems]> > [text show=f]dt=floor([dt.join]/86400)[/text]> [text show=t]theDate=[math date]{1/1/1970}+{0/[dt]/0}[/math][/text].> > [/founditems]> [/search]So those text assignments will parse out to be something like:dt=floor(1586521212554/86400)theDate=[math date]{1/1/1970}+{0/floor(1586521212554/86400)/0}[/math]Assign dt as a math variable instead of text so it will actually calculatefloor( ) instead of taking the whole line as a literal string.Don't know about solving the crashing, but a good place to start.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
on 1/9/03 11:39 AM, Jesse Williams-Proudman at j.list@ninewire.com sonoted...> [search db=data/members.db&neIDdatarq=[blank]&max=3]> [founditems]> > [text show=f]dt=floor([dt.join]/86400)[/text]> [text show=t]theDate=[math date]{1/1/1970}+{0/[dt]/0}[/math][/text].> > [/founditems]> [/search]So those text assignments will parse out to be something like:dt=floor(1586521212554/86400)theDate=[math date]{1/1/1970}+{0/floor(1586521212554/86400)/0}[/math]Assign dt as a math variable instead of text so it will actually calculatefloor( ) instead of taking the whole line as a literal string.Don't know about solving the crashing, but a good place to start.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://webdna.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:
Showif Or (2000)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
WC2.0 Memory Requirements (1997)
Signal Raised Error (Part II) (1997)
Checkboxes (1997)
Image maps/Webcat (1997)
tpl and Explorer (1998)
Apache Question (2003)
Re:What file? (1997)
WebCatalog 4.0.1 has been released! (2000)
[CART] (1997)
Where's Cart Created ? (1997)
Help! WebCat2 bug (1997)
Modifying order output (1997)
search form problem.. (1997)
Nested tags count question (1997)
Problems with ^ could be solved with [REPLACE CHARACTERS] (1997)
BUG ? Running on Empty (1999)
syntax question, not in online refernce (1997)
WebCat2 several catalogs? (1997)