>maybe the following function will help you a littel bit:

Many more lines later...



Hopefully you can see that my one line solution is a little easier on 
the eyes! It could be easily adapted for German, but isn't much use 
for saying whether it's a valid date for that month, or if it's a 
leap year or not:


on getdayname thedate
   return item (((thedate - date(1904,1,3)) mod 7)+1) of 
"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday"
end

-- 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to