Problems with [Applescript]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10995
interpreted = N
texte = This works:[AppleScript]if (current date - date 1997-04-24 19:06:34)>3600 then return [INCLUDE redanrostat2.form][/AppleScript]But not this:[AppleScript]if (current date - date 1997-04-24 19:06:34)<3600 then return [INCLUDE redanrostat2.form][/AppleScript]The only difference is the >3600 and <3600. In ScriptEditor both works, but when using them on a .tmpl file the latter one returns just the word error. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se Associated Messages, from the most recent to the oldest:

    
  1. Re: Problems with [Applescript] (Kenneth Grome 1997)
  2. Re: Problems with [Applescript] (John Hill 1997)
  3. Re: Problems with [Applescript] (Christer Olsson 1997)
  4. Re: Problems with [Applescript] (Grant Hulbert 1997)
  5. Problems with [Applescript] (Christer Olsson 1997)
This works:[AppleScript]if (current date - date 1997-04-24 19:06:34)>3600 then return [INCLUDE redanrostat2.form][/AppleScript]But not this:[AppleScript]if (current date - date 1997-04-24 19:06:34)<3600 then return [INCLUDE redanrostat2.form][/AppleScript]The only difference is the >3600 and <3600. In ScriptEditor both works, but when using them on a .tmpl file the latter one returns just the word error. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se Christer Olsson

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:

formatting search results (1999) [WebDNA] [OT] Kickstarter feedback please? (2015) How do I find where my IP address is located (2000) Emailer Error 550 (Was Strange Crash) (1998) WebCatalog Hosting (1996) [WebDNA] RESTART WebDNA (2016) WebDNA Solutions ... sorry! (1997) New Site Announcement: MusicianStore.com goes live with (1998) searchable list archive (1997) Upgrading old WebCat Database Files (1997) [WebDNA] php/mySQL version of WebDNA Speed Test? (2009) where to put code (1998) WebDNA Solutions ... sorry! (1997) Summing fields (1997) Here we go again... was: DDEConnect not working (2006) hmmm (2006) Searchable list archive (1997) Creating folders and deleting files (1997) problems with WebCat-Plugin (1997) [Capitalize] (1998)