Thanks Florian,

That works nicely accept that for some reason, the date object only goes up to date( 
1999, 4, 9 ), then it starts over with date( 1999, 1, 31 ) and goes to date( 1999, 5, 
10 ) at which point, it starts over with date( 1999, 2, 28 ) and continues to date( 
1999, 6, 7 ), at this point, it starts over one last time at date( 1999, 3, 31 ) and 
continues to date( 1999, 6, 4 ).  Do you have any idea why this may be happening?

Thanks for your help
g fritzinger

<<--SNIP-->>
Attach this behaviour to all your 365 sprites:

property myRedBoxDate

on beginSprite me
  set myRedBoxDate = date(19990101+me.spriteNum-28)
  put myRedBoxDate
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