Re: data in ISO format

2002-05-18 Thread Colin Holgate
>Another way (watch out a email line break): > >Colin Holgate wrote: >> aDate = the systemdate >put aDate.year & string(aDate.month+100).char[2..3] & >string(aDate.day+100).char[2..3] >-- "20020519" That's a cute solution. [To remove yourself from this list, or to change to digest mode, go to

Re: Big Dilema for me

2002-05-18 Thread Fumio Nonaka
Buzz's script will be faster if the character to find is contained few in a string, though. -- Test script on xTest sTest = "a" & QUOTE & "bc" & QUOTE & "def" & QUOTE & "ghij" & QUOTE & "klmno" repeat with i = 1 to 10 sTest = sTest & sTest end repeat nStart = the ticks clean(sTest, "

Re: Big Dilema for me

2002-05-18 Thread Fumio Nonaka
Searching whole string and deleting the character is a bit faster in my test. on xClean(sString, sChar) repeat with i = sString.length down to 1 if sString.char[i] = sChar then delete sString.char[i] end if end repeat return sString end _ Buzz Kettles wrote: > on clean str,

Re: data in ISO format

2002-05-18 Thread Fumio Nonaka
Another way (watch out a email line break): Colin Holgate wrote: > aDate = the systemdate put aDate.year & string(aDate.month+100).char[2..3] & string(aDate.day+100).char[2..3] -- "20020519" Good luck, Fumio Nonaka Phone: +81-42-397-9452 Fax: +81-42-397-9452 mailto:[EMAIL PROTECTED] http://www.F

Re: linked director movie experts

2002-05-18 Thread Kurt Griffin
>> For those of you who have worked with linked director movies... > > Well, I've battled some LDM's and here's my rule of thumb: > "Always let LDM's do to themselves". > > That means: You can tell *variables* to change in the LDM-scope from > the outside, but any real change in "media" should h

Re: Big Dilema for me

2002-05-18 Thread Buzz Kettles
oops (resend) - I typed the Lingo too quickly & didn't test it - - you can also clean a char out by chunking through the items if a field(1) holds this: From: "Jayp" <[EMAIL PROTECTED]> To: "TomH" <[EMAIL PROTECTED]> etc. you can c

is HILITING possible

2002-05-18 Thread Jayp
Is it possible to have a text member have a hilite on alternate lines Can u specify the color of the hitlite too??? Thanx Jayp [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] (P

is HILITING possible

2002-05-18 Thread Jayp
Is it possible to have a text member have a hilite on alternate lines Can u specify the color of the hitlite too??? Thanx Jayp [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] (P

Re: Big Dilema for me

2002-05-18 Thread Buzz Kettles
you can also clean a char out by chunking through the items if a field(1) holds this: From: "Jayp" <[EMAIL PROTECTED]> To: "TomH" <[EMAIL PROTECTED]> etc. you can clean out the quotes (or any specific character) by calling member(1).text = clean(member(1).text, QUOTE) on clean (str, char)

Re: data in ISO format

2002-05-18 Thread Bertil Flink
You can use BuddyAPI: put baSystemTime("date") -- "20020518" Bertil Flink Creative Media [EMAIL PROTECTED] - Original Message - From: "Jayp" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 18, 2002 2:40 PM Subject: data in

Re: member is used in score(too much use word)

2002-05-18 Thread Buzz Kettles
At 11:52 AM -0400 5/17/02, you wrote: >>yes I know it but I must check manies and manies cast member so I would like >>to make a routine > > >You can do a find for cast members not used in the score, click on >one of them in the list you receive, click Select All, and then >you'll have all the u

Re: deleting the cast?

2002-05-18 Thread Buzz Kettles
& you can't disconnect a castLib while running if it's a linked cast, the best you can do is to set the castLib.filename = path/dummy.cst to clear it. -Buzz At 11:02 PM +0100 5/17/02, you wrote: >How can I delete a cast ive decided not to use >Thanx >jayp > > > >[To remove yourself from this l

Re: data in ISO format

2002-05-18 Thread Colin Holgate
>How do I return the data in ISO format >Ie 19960412 You can use a date object to get you part of the way there: aDate = the systemdate y = aDate.year m = aDate.month if m < 10 then m = "0" & m d = aDate.day if d < 10 then d = "0" & d put string(y)&

data in ISO format

2002-05-18 Thread Jayp
How do I return the data in ISO format Ie 19960412 Thnks Jayp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of bhakti Sent: Saturday, May 18, 2002 1:42 AM To: [EMAIL PROTECTED] Subject: Re: Big Dilema for me numchars = varName.chars.count repeat

Re: Help with calling a script

2002-05-18 Thread Andreas Gaunitz P11
I'm not sure why you can't put your code in frame 2 instead of frame 1? It's usually a good idea to allow 1 or 2 frames for Director to catch up, after loading a movie. Please note: If you are affecting another sprite in your "beginSprite" handler, the other sprite needs to already be instanc