Hi Brad... Thanks for responding.
As half of what I'm doing is going to be distributed to Europe, and they format the date differently from the US (my system), will temporarily changing the itemDelimiter do anything to screw up either-side-of-the-Atlantic systems regarding date? For instance, put the short date (US) returns -- "1/9/2003" But is there a chance that this could be something like -- "2003/9/1" somewhere else, or maybe something different? Maybe I should make a linear list out of the items in the short date and search for the one that has a length of 4? Would it always be 4, i.e. could some far off place like Lesotho, Belarus or the Canary Islands return 03 instead of 2003? Thanks for any feedback. - Michael M. >> I know I may be opening a can of worms here, but why is it that the >> long date in the following code works in authoring mode but not in >> projector mode? >> >> on beginSprite(me) >> pSp = sprite(me.spriteNum) >> r = (the long date).item[3] >> rr = "(c)" & r && "Factory Mutual Insurance Company. All rights >> reserved." >> pSp.member.text = rr >> end >> >> In #author, it's 2003. >> In #projector, it's nothing. >> >> Any thoughts are appreciated. >> >> Regards, >> Michael M. >> > >Hmm doesn't work in mine! >I suspect you may have picked up SPACE as the itemdelimter >somewhere but even then it's item[4] > >But this will do what you need: >OLDitemdelimiter=the itemdelimiter >the itemdelimiter="/" >put (the short date).item[3] >the itemdelimiter=OLDitemdelimiter [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]
