Page 1 of 1

Card names no longer recognised by code

Posted: Tue Mar 03, 2009 3:23 am
by HumanMedia
I keep hitting a strange bug where card names are not recognised by the code, but card numbers are. The card name in the code is identical to the actual card name (copy and pasted even) but it doesnt recognise it.

So this isnt recognised:

if the name of the current card is "Video Player" then

But this is:

if the number of the current card is 2 then

Even though the name is correct.

Is it me or is the stack corrupt?

RE: Card names no longer recognised by code

Posted: Tue Mar 03, 2009 6:45 am
by gmccarthy
try "short name" instead of "name"

Posted: Tue Mar 03, 2009 7:25 am
by HumanMedia
thank you

Posted: Tue Mar 03, 2009 7:07 pm
by Klaus
You can also save some typing and use "this" instead of "current" :-)


Best

Klaus