Keyword "Val" is rejected.

Beta Testing discussion on mikroBasic PRO for PIC.
Post Reply
Author
Message
Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

Keyword "Val" is rejected.

#1 Post by Dany » 12 Mar 2014 17:15

Hi,

In mB it is not allowed to use "Val" a e.g. the name of a function. In mP it is allowed.
The list of existing keywords in the mB help does not contain "Val" either.
Why this difference between mB and mP? This would mean that not all mP compiled libraries can be used in mB.

Thanks in advance!
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

lejeff
Posts: 218
Joined: 04 Dec 2011 16:10
Location: France

Re: Keyword "Val" is rejected.

#2 Post by lejeff » 12 Mar 2014 20:14

Thank you to confirm what I've found when translating your stringutils lib

A good thing will be that ME team update the list of "reserved" keywords for all compilers to avoid such issues

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: Keyword "Val" is rejected.

#3 Post by janni » 12 Mar 2014 23:06

lejeff wrote:A good thing will be that ME team update the list of "reserved" keywords for all compilers to avoid such issues
Hopefully while reducing it to those keywords that are needed instead of adding every keyword that could be thought of as belonging to programming language :( .

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

Re: Keyword "Val" is rejected.

#4 Post by filip » 14 Mar 2014 15:36

Hi,

Thank you for reporting this, I will pass this on to our developers.

Regards,
Filip.

Post Reply

Return to “mikroBasic PRO for PIC Beta Testing”