Page 1 of 1

Large project wont build. Undeterminable syntax errors.

Posted: 24 Mar 2009 03:16
by Chris Yeager
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

Posted: 25 Mar 2009 17:30
by goran.marinkovic
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

Posted: 25 Mar 2009 23:13
by Chris Yeager
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?

Posted: 26 Mar 2009 01:49
by Durango
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