Posted: Mon Aug 03, 2020 8:39 am Post subject: Problem compiling with extensive comment block at the beginn
If there is an extensive comment block at the beginning of a program (about 500 lines and more no matter what length), the compiler "stumbles" and brings error messages.
If you set the declaration "$regfile = ..." as the first line, the compilation works without errors.
With BasCom version 2.0.8.2 this problem does not occur.
for me it works ok. but it depend on your settings.
the best you can do is make a copy of the 2082 settings.
you can do that with : Options, Select Settings file
this allows to make a copy of the 2082 settings file and then use that.
the actual setting is : options, einvironment, IDE, use new method.
This is a recommended setting.
unchecked it will use a simple method to check the source for the regfile. it is way faster but it does not allow #if constructions.
it is faster since it uses a simple parser and also only checks the start of your source. and that is the problem too : when you use a lot of text before the $regfile it will fail.
For this reason the new method was added. i guess it was checked in 2082 and not in the 2083. _________________ Mark
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