Include problem

General discussion on mikroBasic PRO for 8051.
Post Reply
Author
Message
BarryP
Posts: 517
Joined: 02 Apr 2007 03:57
Location: New Zealand

Include problem

#1 Post by BarryP » 03 Jan 2011 23:20

Howdy, Not a lot going on in this forum..
I've been using MBpro_PIC for a while now.
I am looking at using MBpro_8051 for a project using a C8051F020.
Are the enhancements for the MBpro_PIC going to be implemented in the MBpro_8051 ?

I tried a simple include & had some problems.
If I Include testinclude module in the main program , I get an error
The Error is Syntax error: Expected ")" but "9600" found testinclude.mbas

uart1_init(9600) works fine if used only in the main program

Code: Select all

module testInclude
sub function InitUart() as byte
implements
sub function InitUart() as byte
    uart1_init(9600)
    result = 1
end sub
end.

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

Re: Include problem

#2 Post by filip » 04 Jan 2011 12:36

Hi,

I apologize for this inconvenience.
I will pass this on to our developers and I am sure that the enhancements in mikroBasic PRO for PIC will be included in the following release of the mikroBasic PRO for 8051.

Thank you for reporting this issue.

Regards,
Filip.

Post Reply

Return to “mikroBasic PRO for 8051 General”