Strange behavior

andu undo at cloud9.net
Fri Jan 11 09:57:01 EST 2002


xbury.cs at clearstream.com wrote:
> 
> on textoid txt
>   lock messages
>   create stack
>   set name of the topstack to "Textoid"
>  go to card 1 of stack "textoid"
> -- why is the previous line necessary? go figure...
>  create field
>  set the rect of fld 1 to the rect of card 1
>  put txt into fld 1
> end textoid
> 
> then type in the message something like:
> textoid "hello"

on textoid txt
  create stack "textoid"
 set the defaultstack to "textoid"
 create field "field1"
 set the rect of fld "field1" of stack "textoid" to (the rect of stack
"textoid")
 put txt into fld "field1" of stack "textoid"
end textoid


Didn't test it but that's how I would start.

> 
> Sounds simple, but for some crooked reason, what happens is that I get two
> stacks, both are called "textoid", one is empty, the other has one field
> with the rect of the stack and the text that was in the param, and then
> there's at least 1 more "raw" field with no text above the first one...
> 
> If i reinstall MC, and put it into the blank home stack, it works correctly.
> But then what good is the lock messages for? I've commented out also the
> openstack/newfield, etc... scripts...
> 
> Can anyone explain?
> 
> 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 at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard

-- 
__________________________
 Regards, Andu



More information about the metacard mailing list