Re: MC IDE b9 - script editor issue

2005-06-10 Thread Richard Gaskin

Klaus Major wrote:

Hi Alejandro,


on Fri, 10 Jun 2005
Klaus Major wrote:



Ah, i know what you mean.
When you have a block of comments commented out with
/**
## Or even more *
**/
and not with a single

/*
*/

Then you will sometimes get this error...



Did you notice that the script editor
of MC 2.5 do not flag as an error the following
script:

get the the selobj

Notice, "the" is repeated twice...

Could you test this in your machine?





Confirmed in Rev; engine issue.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: MC IDE b9 - script editor issue

2005-06-10 Thread Klaus Major

Hi Alejandro,


on Fri, 10 Jun 2005
Klaus Major wrote:



Ah, i know what you mean.
When you have a block of comments commented out with
/**
## Or even more *
**/
and not with a single

/*
*/

Then you will sometimes get this error...



Did you notice that the script editor
of MC 2.5 do not flag as an error the following
script:

get the the selobj

Notice, "the" is repeated twice...

Could you test this in your machine?


Yes, same here, NO error :-/

Godzilla food :-)


al

Visit my site:
http://www.geocities.com/capellan2000/


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: MC IDE b9 - script editor issue

2005-06-10 Thread Alejandro Tejada
on Fri, 10 Jun 2005 
Klaus Major wrote:

> Ah, i know what you mean.
> When you have a block of comments commented out with
> /**
> ## Or even more *
> **/
> and not with a single
> 
> /*
> */
> 
> Then you will sometimes get this error...

Did you notice that the script editor
of MC 2.5 do not flag as an error the following
script:

get the the selobj

Notice, "the" is repeated twice...

Could you test this in your machine?

al

Visit my site:
http://www.geocities.com/capellan2000/



__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: MC IDE b9 - script editor issue

2005-06-10 Thread Klaus Major

Hi Xavier,


I guess i talked before testing... I couldn't get my script deleted ;)

Im just trying to find that "illegal char" error when you save a  
script...


Ah, i know what you mean.

When you have a block of comments commented out with

/**
## Or even more *
**/

and not with a single

/*
*/

Then you will sometimes get this error...

But hitting ENTER a second time will close and save and apply the  
script nevertheless.




cheers
Xavier


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: MC IDE b9 - script editor issue

2005-06-10 Thread xbury . cs

I guess i talked before testing... I
couldn't get my script deleted ;)

Im just trying to find that "illegal
char" error when you save a script...

cheers
Xavier


On 10/06/2005 10:08:13 metacard-bounces
wrote:
>Scott, 
>
>Good test. I know the script can save with just a 4th line or a bit
of  
>text in the 2nd line of the script but for anyone who doesn't 
>know the behavior, types their handler and it doesn't get saved, 
>this might not be so obvious... 
>
>cheers 
>Xavier 
>
>On 10/06/2005 10:01:49 metacard-bounces wrote:
>>Recently, [EMAIL PROTECTED]  wrote:
>>
>>> This function in theMC script editor saving script is a concern.
>>>
>>> If you put in a script
>>>
>>> on opencard
>>>
>>> end opencard
>>>
>>> to block the opencard messages, the setscript will not save
it and
>>> worse make the script empty...
>>
>>Not in my experience.  Scripts of cards automatically open
in the editor
>>with empty openCard handlers and all objects open with empty mouseUp
>>handlers.  This was done by design.  If you hit enter
when editing the
>>script, the empty handler script is saved.
>>
>>Create a new stack, edit the script of the card, hit enter, and
then in the
>>message box "answer number of lines of script of this cd".
 The result will
>>be 3.
>>
>>If you do the same as the above but simply close the script editor
via the
>>close box without applying, the number of lines will be 0.
>>
>>(In my case, when I really want to be sure of blocking handlers,
I simply
>>add a single "#" in the handler.)
>>
>>Regards,
>>
>>Scott Rossi
>>Creative Director
>>Tactile Media, Multimedia & Design
>>-
>>E: [EMAIL PROTECTED]
>>W: http://www.tactilemedia.com
>>
>>___
>>metacard mailing list
>>metacard@lists.runrev.com
>>http://lists.runrev.com/mailman/listinfo/metacard 
>
>
>Visit us at http://www.clearstream.com
>
>IMPORTANT MESSAGE
>
>Internet communications are not secure and therefore Clearstream
>International does not accept legal responsibility for the contents
of
>this message.
>
>The information contained in this e-mail is confidential and may be
>legally privileged. It is intended solely for the addressee. If you
are
>not the intended recipient, any disclosure, copying, distribution or
>any action taken or omitted to be taken in reliance on it, is
>prohibited and may be unlawful. Any views expressed in this e-mail
are
>those of the individual sender, except where the sender specifically
>states them to be the views of Clearstream International or of any
of
>its affiliates or subsidiaries.
>
>END OF DISCLAIMER 
>___
>metacard mailing list
>metacard@lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/metacard___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: MC IDE b9 - script editor issue

2005-06-10 Thread Scott Rossi
Recently, [EMAIL PROTECTED]  wrote:

> Good test. I know the script can save with just a 4th line or a bit of
> text in the 2nd line of the script but for anyone who doesn't
> know the behavior, types their handler and it doesn't get saved,
> this might not be so obvious...

Are you referring to closing the editor via the closebox?  If not, on what
occasions are scripts not being saved?

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: MC IDE b9 - script editor issue

2005-06-10 Thread xbury . cs



Scott,

Good test. I know the script can save
with just a 4th line or a bit of 
text in the 2nd line of the script but
for anyone who doesn't
know the behavior, types their handler
and it doesn't get saved,
this might not be so obvious...

cheers
Xavier

On 10/06/2005 10:01:49 metacard-bounces
wrote:
>Recently, [EMAIL PROTECTED]  wrote:
>
>> This function in theMC script editor saving script is a concern.
>>
>> If you put in a script
>>
>> on opencard
>>
>> end opencard
>>
>> to block the opencard messages, the setscript will not save it
and
>> worse make the script empty...
>
>Not in my experience.  Scripts of cards automatically open in
the editor
>with empty openCard handlers and all objects open with empty mouseUp
>handlers.  This was done by design.  If you hit enter when
editing the
>script, the empty handler script is saved.
>
>Create a new stack, edit the script of the card, hit enter, and then
in the
>message box "answer number of lines of script of this cd".
 The result will
>be 3.
>
>If you do the same as the above but simply close the script editor
via the
>close box without applying, the number of lines will be 0.
>
>(In my case, when I really want to be sure of blocking handlers, I
simply
>add a single "#" in the handler.)
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, Multimedia & Design
>-
>E: [EMAIL PROTECTED]
>W: http://www.tactilemedia.com
>
>___
>metacard mailing list
>metacard@lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/metacard



Visit us at http://www.clearstream.com  IMPORTANT MESSAGEInternet communications are not secure and therefore ClearstreamInternational does not accept legal responsibility for the contents ofthis message.The information contained in this e-mail is confidential and may belegally privileged. It is intended solely for the addressee. If you arenot the intended recipient, any disclosure, copying, distribution orany action taken or omitted to be taken in reliance on it, isprohibited and may be unlawful. Any views expressed in this e-mail arethose of the individual sender, except where the sender specificallystates them to be the views of Clearstream International or of any ofits affiliates or subsidiaries.END OF DISCLAIMER



___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: MC IDE b9 - script editor issue

2005-06-10 Thread Scott Rossi
Recently, [EMAIL PROTECTED]  wrote:

> This function in theMC script editor saving script is a concern.
> 
> If you put in a script
> 
> on opencard 
> 
> end opencard 
> 
> to block the opencard messages, the setscript will not save it and
> worse make the script empty...

Not in my experience.  Scripts of cards automatically open in the editor
with empty openCard handlers and all objects open with empty mouseUp
handlers.  This was done by design.  If you hit enter when editing the
script, the empty handler script is saved.

Create a new stack, edit the script of the card, hit enter, and then in the
message box "answer number of lines of script of this cd".  The result will
be 3.

If you do the same as the above but simply close the script editor via the
close box without applying, the number of lines will be 0.

(In my case, when I really want to be sure of blocking handlers, I simply
add a single "#" in the handler.)

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: MC IDE b9 - script editor issue

2005-06-10 Thread xbury . cs



This function in theMC script editor
saving script is a concern.

If you put in a script 

on opencard

end opencard

to block the opencard messages, the
setscript will not save it and
worse make the script empty...

function setscript doclose
  local
ef, tline, tcol, savedscript, perror
  get
the long id
of me
  put
"field" && quote & "Editor Field" &
quote & "of " before it
  put
it into ef
  get
the scriptObject of me
  if it is empty \
      or (the number
of lines in ef is 3 and line 2 of ef is "  "\
      and the script
of it is empty) then
    if doclose then
      close
this stack
      set
the scriptObject of me
to empty
      return
true
    end if
  end if

cheers
Xavier



Visit us at http://www.clearstream.com  IMPORTANT MESSAGEInternet communications are not secure and therefore ClearstreamInternational does not accept legal responsibility for the contents ofthis message.The information contained in this e-mail is confidential and may belegally privileged. It is intended solely for the addressee. If you arenot the intended recipient, any disclosure, copying, distribution orany action taken or omitted to be taken in reliance on it, isprohibited and may be unlawful. Any views expressed in this e-mail arethose of the individual sender, except where the sender specificallystates them to be the views of Clearstream International or of any ofits affiliates or subsidiaries.END OF DISCLAIMER



___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard