>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
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, "
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,
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
>> 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
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 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 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
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)
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
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
& 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
>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)&
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
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
15 matches
Mail list logo