On Friday, December 6, 2002, at 04:14 PM, John Lodge wrote:
Thanks everyone for your help. The handler finally works!
Great! Glad you got it working (sorry for the bloopers).
Final version below ... with my commentary.
Just for your edification: Good on you. Creating code and adding
commen
repeat
END InsertMembers
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, December 06, 2002 10:00 AM
Subject: Re: New learner: how do write a handler that inserts text
memebers in the cast?
> swap the string func
On Friday, December 6, 2002, at 12:26 AM, John Lodge wrote:
"Script Error. Wrong type
mTextMember=new(#text,"Internal")
"Internal"
Could you suggest why this is so?
I forgot to add the 'castLib' specifier, as was pointed out by another
respondent. The perils of doing this stuff OTTOMH! :\
-
On Friday, December 6, 2002, at 03:31 AM, John Lodge wrote:
"Script error: Object expected
mTextMember.text="This is member number" && nmem.string()"
My bad. Remove the parens from string:
mTextMember.text="This is member number" && nmem.string
-- WthmO
[To remove yourself from this list,
swap the string function around as below. the string function which turns a variable
into a string is a standalone function and should not have been part of the object
nMem:
on InsertMembers
repeat with nMem = 1 to 5
mTextMember = new ( #text, castlib("Internal" ))
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of John Lodge
> Sent: Thursday, December 05, 2002 10:26 PM
> To: [EMAIL PROTECTED]
> Subject: Re: New learner: how do write a handler that inserts
> text memebers in the cast?
>
>
> Warren
> Thank you for this
this is so?
I'm using the internal cast.
John
- Original Message -
From: "Howdy-Tzi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 9:14 PM
Subject: Re: New learner: how do write a handler that inserts
text memebers in the
this is so?
I'm using the internal cast.
John
- Original Message -
From: "Howdy-Tzi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 9:14 PM
Subject: Re: New learner: how do write a handler that inserts
text memebers in the cast?
> On
--
From: "mike m" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 9:22 PM
Subject: Re: New learner: how do write a handler that inserts text
memebers in the cast?
>
> hi, i am new too, but practise makes progress eh!
> to make a handle
Message -
From: "Howdy-Tzi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 9:14 PM
Subject: Re: New learner: how do write a handler that inserts text
memebers in the cast?
> On Wednesday, December 4, 2002, at 02:35 PM, John Lodge wrote:
&g
On Wednesday, December 4, 2002, at 02:35 PM, John Lodge wrote:
Yesterday, for example, I wanted to write a handler which would insert
text
into the first five members of the cast. Could I do it? Not a chance!
This can probably be most easily accomplished with a repeat loop,
something that uses
Dear group
I'm just starting to learn Lingo (don't have a programming background) and
having worked my way through umpteen pages on the subject, I want now to
create some handlers of my own as an exercise to see how well I understand
the language. So far I have to admit ... I'm not doing very well.
12 matches
Mail list logo