Problem Calling Custom Card Props with the Same Name Using Switch

Jacques Hausser jacques.hausser at unil.ch
Mon Nov 30 03:42:22 CST 2009


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

******************************************
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax: 	++ 41 22 366 19 40
mobile:	++ 41 79 757 05 24
E-Mail:	jacques.hausser at unil.ch
*******************************************




More information about the use-livecode mailing list