mismo programa en diferentes maquinas

Please check the frequently asked questions before posting to the forum.
Post Reply
Author
Message
juan_fran
Posts: 2
Joined: 29 Mar 2012 17:46

mismo programa en diferentes maquinas

#1 Post by juan_fran » 29 Mar 2012 18:06

please i need help, my problem is this I have installed 4.6 on my pc mikroBasic and works perfect, but install it on another machine and firmware I created in the first does not help me in the second, what brought about this problem must ? I have an error
(identifier "to" has been Already Declared in "p18f2550.mbas"

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

Re: mismo programa en diferentes maquinas

#2 Post by filip » 30 Mar 2012 09:20

Hi,

to is a reserved word in mikroBasic, and as such it cannot be uses for identifier names.

The error that you get is somewhat intriguing, it means that some register/bit is defined with the name to in the definition file of the 18F2550 (p18f2550.mbas).
I have searched through the definition file in the 4.60 version of the compiler and could not find it.

Are you using mikroBasic or mikroBasic PRO for PIC compiler ?

Regards,
Filip.

juan_fran
Posts: 2
Joined: 29 Mar 2012 17:46

Re: mismo programa en diferentes maquinas

#3 Post by juan_fran » 30 Mar 2012 18:10

I'm using mikroBasic pro for pic

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

Re: mismo programa en diferentes maquinas

#4 Post by filip » 02 Apr 2012 09:03

Hi,

Thanks for this information, and please not use to as an identifier name.

Regards,
Filip.

Post Reply

Return to “mikroPascal FAQ”