Click the links below to explore the different sections of our site. If you have any questions about our products or services, don't hesitate to contact us.
Following are a number of links to pages that might interest you as a visitor of this web site.
copyright © 2005-07 by Mark Schonewille & Economy-x-Talk

Economy-x-Talk - Sample Scripts

Dates Comparing Trouble

This script illustrates a problem with comparing dates.





on doCompareDates
  compareDates "12-05-1001","19-05-1953"
  return the result
end doCompareDates

on compareDates date1,date2
  convert date1 to seconds
  put the result into rslt
  if rslt is not empty then
    beep
    answer rslt
    exit compareDates
  end if
  convert date2 to seconds
  put the result into rslt
  if rslt is not empty then
    beep
    answer rslt
    exit compareDates
  end if
  put (date2>date1) into later
  if later then
    put "Later" into rslt
  else if not later then
    put "Earlier or equal" into rslt
  end if
  return rslt
end compareDates





Keep this extensive resource of tutorials and samples on-line! Support RunRev.info!
Yes, this script is useful. I make a donation and choose freely how much I want to donate on-line (PayPal). Click here if you want to make a donation in dollars.This script has not (completely) solved my problem and I want Economy-x-Talk to take care of it. Let me contact you.
Copyright©2002-2008 by Mark Schonewille, Nijmegen, the Netherlands. This web site is in no way affiliated with Runtime Revolution Ltd., but we do recommend the Revolution development platform.