Problem Calling Custom Card Props with the Same Name Using Switch

René Micout rene.micout at numericable.com
Mon Nov 30 05:23:29 EST 2009


Hello Jacques !
for the specific issue of temporary variables, I use the following names, which solves, I think, this type of problem: vtA, vtB, vtC, etc.. (pour variable tampon (ou temporaire) a, b, c, etc..)
Bon souvenir de Paris
René

Le 30 nov. 2009 à 10:42, Jacques Hausser a écrit :

> 
> Le 30 nov. 2009 à 03:25, J. Landman Gay a écrit :
> 
>> This fails for me too, but only if I keep the property name you assigned. If I change the property to "cY" it works as expected. I'm not sure why, but I'd guess the engine is using "y" for something. Since I always preface my custom properties with "c", I haven't run into this before, but I think you should probably bug-report it. It's an odd one.
> 
> 
> Related remark: I remember I had sometime (not systematically) problems when giving one letter names to variables or parameters (e.g. a,b or x,y, which are so standart, in regression for example), but I was too lazy to digg deep in this question, it was simpler to change the name of the variable... but it IS some hidden pitfall somewhere.
> 
> Jacques




More information about the use-livecode mailing list