Am I overseeing something here?

Klaus Major klaus at major-k.de
Tue Feb 20 15:29:27 EST 2007


Bon soir Eric,

ca va bien?

> Dear Klaus,
>
> I have no answer (your code sounds good) but I always use the  
> following code (in stack's scripts only of course):
>
> on closestack
>   if the long name of me = the long name of this stack then
>     <statements> -- will be applied to 'this' stack only
>   end if
> end closestack
>
> or:
>
> on closestack
>   switch the short name of this stack
>   case "Klaus"
>     <Have a good beer>
>   break
>  case "Eric"
>     <Have a glass of wine>
>   break
>   default
>     <Have a cup of tea>
>   end switch
> end closestack
>
> ;-)

Well, I also like a good wine :-)

Thank you for you info, so the code DOES look logical, and there is  
no apparent reason
why it should fail, right?

> Best Regards from Paris,
> Eric Chatonet

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the Use-livecode mailing list