Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

V12 $INCLUDE Problem

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-8051 Archive
View previous topic :: View next topic  
Author Message
markg0ebb

Bascom Member



Joined: 17 May 2006
Posts: 4
Location: England

uk.gif
PostPosted: Wed Jun 14, 2006 8:09 pm    Post subject: V12 $INCLUDE Problem Reply with quote

I have used version 11 for a long time and have not had any problem.
I use the $INCLUDE for many files and have a directory with all my include files and the main .BAS in the same directory, theses are not in the BASCOM directory but another place in my software directory.

In version 11 when I compiled the $INCLUDE .BAS was found without trouble, but V12 wiil only find the $INCLUDE if it is in the BASCOM directory, this means all my code has to be in one directory, this is no good for me, I have entered the correct path in the oprtions and it forgets the location of the path when I close BASCOM, even thought the path is still shown, I must open the path and then close the option for it to work, V11 was ok.

Is there another option in the menu I can not find? or is this a fault with the new version?

Many thanks Mark

_________________
73 de Mark
Back to top
View user's profile
markg0ebb

Bascom Member



Joined: 17 May 2006
Posts: 4
Location: England

uk.gif
PostPosted: Sun Jun 18, 2006 2:29 am    Post subject: Reply with quote

Do no other people use INCLUDE files?, anyone at MCS tell me why I have no option to use V11, V12 is no use without this working, please help.
_________________
73 de Mark
Back to top
View user's profile
Frankeman

Bascom Member



Joined: 11 Aug 2004
Posts: 948
Location: the Netherlands

netherlands.gif
PostPosted: Sun Jun 18, 2006 9:10 am    Post subject: Reply with quote

Hi,

Send a mail to support@mcs.com that is the right place for this when nobody can help.

Frank.
Back to top
View user's profile
markg0ebb

Bascom Member



Joined: 17 May 2006
Posts: 4
Location: England

uk.gif
PostPosted: Sun Jun 18, 2006 10:22 am    Post subject: Reply with quote

Thankyou Frank I will do that.


Mark

_________________
73 de Mark
Back to top
View user's profile
bzijlstra

Bascom Ambassador



Joined: 30 Dec 2004
Posts: 1179
Location: Tilburg - Netherlands

netherlands.gif
PostPosted: Wed Jun 21, 2006 5:21 pm    Post subject: Include files Reply with quote

Mark

Haven't seen this problem occur on my Bascom-8051 programs.

There are some examples on my homepage (the BenBus), is it possible to compile them with your version of Bascom-8051 and mail us the results?

BTW I don't use a path while using the include-files.

Ben Zijlstra
Back to top
View user's profile Visit poster's website
markg0ebb

Bascom Member



Joined: 17 May 2006
Posts: 4
Location: England

uk.gif
PostPosted: Wed Jun 21, 2006 5:33 pm    Post subject: Reply with quote

Hello Ben,

V12 does not find the path for the INCLUDE file, I enter the path in the "ENVIRONMENT" > "IDE"> "File location" section of the options. It will only see the path if I enter it every time I open up the V12.

I am still using V11 as it is fine with all my software, all my projects use include files and it will not work with V12 now for some reason.

V12 does not compile my code as it will not look in the directory for the INCLUDE(this is the same place the .BAS is kept), it will only work if all my INCLUDE and .BAS are in the same directory as BASCOM.EXE.

V11 allows me to use any directory for my .BAS and INCLUDE, this is my problem!

I have a licence and the download was for a new instalation.

Many thanks Mark.

_________________
73 de Mark
Back to top
View user's profile
bzijlstra

Bascom Ambassador



Joined: 30 Dec 2004
Posts: 1179
Location: Tilburg - Netherlands

netherlands.gif
PostPosted: Wed Jun 21, 2006 5:46 pm    Post subject: paths in Bascom-8051 and Bascom-AVR Reply with quote

Mark

I see something simular in Bascom-AVR. For my graphical displays I would like to put all my pictures in a specific directory and the same for my fonts. Have to do some more testing but I haven't found a way to use paths.

Will send a mail to Mark from www.mcselec.com with some suggestions.

Have fun
Ben Zijlstra
Back to top
View user's profile Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-8051 Archive All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum