BETA 7.30 - Project name

Beta Testing discussion on mikroC PRO for PIC.
Post Reply
Author
Message
jumper
Posts: 466
Joined: 07 Mar 2007 14:36

BETA 7.30 - Project name

#1 Post by jumper » 20 Jan 2019 06:00

When creating a new standard project and the project name starts with a number for example 57_test then the wizard complains that the file name contains and illegal character such as /-*. etc.


When I add a letter to start the project name it accepts the project name p57_test

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: BETA 7.30 - Project name

#2 Post by filip » 28 Jan 2019 15:34

Hi,

This restriction is implemented in all of the compilers, not only this beta.

Regards,
Filip.

jumper
Posts: 466
Joined: 07 Mar 2007 14:36

Re: BETA 7.30 - Project name

#3 Post by jumper » 28 Jan 2019 18:21

I can understand that restriction but then it should be mentioned in the error message that project names can not start with a number. I spent lots of time trying to get a project setup and that name did not contain any illegal characters as mentioned in the error message.

I was just too dumb to understand that there was a undocumented restriction on naming projects.

So ok. Lets call it a feature.. But hardly a helpful one.

Any why is a number as first character such a bad idea that it had to be banned?

paulfjujo
Posts: 1544
Joined: 24 Jun 2007 19:27
Location: 01800 St Maurice de Gourdans France
Contact:

Re: BETA 7.30 - Project name

#4 Post by paulfjujo » 30 Jan 2019 09:53

hello,


same request concerning file or sub directory name
i want to use undescore caratere on my file or subdirectory name
example:

Use_of_underscore_in_file_or_directory_name.jpg

jumper
Posts: 466
Joined: 07 Mar 2007 14:36

Re: BETA 7.30 - Project name

#5 Post by jumper » 30 Jan 2019 14:02

You can use underscore in the filename

What prevents your name is the secret limitation that the filename is not allowed to start with a number

In your case the 1 is the culprit..

paulfjujo
Posts: 1544
Joined: 24 Jun 2007 19:27
Location: 01800 St Maurice de Gourdans France
Contact:

Re: BETA 7.30 - Project name

#6 Post by paulfjujo » 30 Jan 2019 20:23

jumper wrote:You can use underscore in the filename

What prevents your name is the secret limitation that the filename is not allowed to start with a number

In your case the 1 is the culprit..

OK ... if i add P in front of 18F

so error message is wrong !
nothing tell about number as first letter will cause problem
and WHY ???

jumper
Posts: 466
Joined: 07 Mar 2007 14:36

Re: BETA 7.30 - Project name

#7 Post by jumper » 30 Jan 2019 21:27

Thank you!!

One more user as dumb as me ;-)

Post Reply

Return to “mikroC PRO for PIC Beta Testing”