Identifier seems not to like - in the name

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Identifier seems not to like - in the name

Post by sphere » Fri Apr 03, 2015 11:58 am

Hello,

it seems that the identifier does not like a - in the name.
I thought it was normal practice to put in the name of your domain there?

If i remove the - then livecode wants to build the classes, if it is in place then it wont build.

Are - not allowed?
Knipsel.JPG
Knipsel.JPG (17.83 KiB) Viewed 3964 times
I also tried a change it in the keystore file but that does not help.

thanks for any help on this.

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: Identifier seems not to like - in the name

Post by sphere » Sat Apr 04, 2015 6:39 pm

No one an idea?

ok maybe it is not a bug but i will file one, maybe then something comes up.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Identifier seems not to like - in the name

Post by Simon » Sat Apr 04, 2015 7:34 pm

Hi sphere,
No it's not a bug.
You can't have ?,: and some others either.
There is a complete list somewhere in these forums.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: Identifier seems not to like - in the name

Post by dave.kilroy » Sun Apr 05, 2015 1:09 am

Hi sphere - yep I would advise you keep the indentifier as plain as possible - once when building for iOS I got a failure when I included a capital letter in the Development Portal's app id (even though I matched it perfectly from within LiveCode).

I've never tried non-standard syntax on an Android identifier but am not very surprised it refused you - if it's of any comfort I don't think it's a LiveCode thing but an iOS and Android thing...

Kind regards

Dave
"...this is not the code you are looking for..."

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: Identifier seems not to like - in the name

Post by sphere » Sun Apr 05, 2015 10:32 am

Thank you Simon and Dave for your comments.

For now i will remove the -.

I did file a bug report to see what comes up, i wrote with it that i don't know if it is a bug or not.
But maybe the identifier should have some more possibilities, perhaps Livecode can't change it when the cause lies with Android or iOS.

But the way URL's are written is also evolving, as numbers are allowed these days also. I don't know if that is the case with identifier too, did not check that.

Thanks.
Jerry

Post Reply