Large project wont build. Undeterminable syntax errors.

Beta Testing discussion on mikroBasic.
Post Reply
Author
Message
Chris Yeager
Posts: 73
Joined: 21 Sep 2005 04:23

Large project wont build. Undeterminable syntax errors.

#1 Post by Chris Yeager » 24 Mar 2009 03:16

I have kind of a large project that I created a couple of years ago. I doesn't even come close to working in this new beta. It did work fine with 7.0.0.2
I love your product and I would love to use the new one. My program consists of four files. One main one and 3 libraries.

How can I get this code to you so you can simply try to build it?
I would really like to get it working.

Chris Yeager

goran.marinkovic
mikroElektronika team
Posts: 265
Joined: 25 Nov 2008 09:09

#2 Post by goran.marinkovic » 25 Mar 2009 17:30

Hi,

For importing project from old compiler to new version of compiler, you should use import project option.
Also you should look in code migration document, where you can find the explanation for changes that has been occurred.

If you have another question, let me know.

Regards

Chris Yeager
Posts: 73
Joined: 21 Sep 2005 04:23

#3 Post by Chris Yeager » 25 Mar 2009 23:13

Well... I tried the migration function. It only pulled in the main mbas file. I then made a new file and copy/paste the old code in it.
It then got an error during compile on the 'end sub' line of the first subroutine in the module.
Error said [expecting '.' but 'sub' found.] or something like that.

I looked through the migration document but didn't find much help. I will look again.

Is there a way I could zip up my 5 files, send them to you, and you could just try to build it? See what you think about it?

Durango
Posts: 134
Joined: 11 May 2006 17:48
Location: Maryland USA

#4 Post by Durango » 26 Mar 2009 01:49

Chris,

If you are having troubles with importing your Modules into Pro.
Take a look at this thread.
http://www.mikroe.com/forum/viewtopic.php?t=19072

This is what I did to get the Modules to program with the main module.

Also you might want to post in the "mikroBasic PRO for PIC Beta Testing" forum. You may get more help in that forum.

Durango

Post Reply

Return to “mikroBasic Beta Testing”