6.002 can't find libraries

I have code that works fine in 5.5 and 5.32, but won't run in 6.002 -- 6.002 can't find two library files that are specified by absolute paths.

Also, I can compile these libraries in 5.5 and 5.32, but 6.002 gives a long list of errors, beginning with the EXTERNAL command at the head of the file (!).

best regards,

Bill Roberts

Comments

Compiling EXTERNAL modules

Hi Bill,

The problem you reported also applies to library modules as well. The root of the problem is the bunch of extra code we have to add to all source code to overcome bugs within the TBsystem file. Since you cannot "run" EXTERNAL files or library MODULES we can dispense with this extra code. This will allow your EXTERNAL or MODULE files to compile properly.

Shortly I will issue a downloadable UPDATE file that will automatically update the TBeditor file to correct this problem.

Regards
Big John

external library file still won't compile in 6.003

Hi, Big John,

I just downloaded 6.003, but the problem persists -- I can't compile my external library, with 6.003 returning an error message for the EXTERNAL statement at the beginning of the file.

Best regards,

Bill Roberts

COMPILING EXTERNAL files

Hi Bill,

I have just checked several EXTERNAL files of mine - including some that are used by the editor itself, and these all compile successfully with version 6.003.

It is important that the keyword EXTERNAL appears on the very first line of code in the EXTERNAL file. If it is on any other line, then the editor assumes "external" may be part of the program code so the editor igores it. As soon as the keyword EXTERNAL is found, then the extra code which is normally added to all programs is automatically by-passed.

I have also checked several DO programs which are EXTERNAL as well as several MODULES. All avoided the extra code and compiled successfully.

Regards
Big John

external library file still won't compile in 6.003

Hi, Big John,

The EXTERNAL statement in my library file is preceded by several lines of comments. It compiles fine using the 5.32 and 5.5 editors, but not the 6.003 editor. Can the comments really be causing a problem?

Best regards,

Bill Roberts

EXTERNAL

Hi,

Yes, at present the editor only looks for the KEYWORD EXTERNAL on the first line.

I will see what I can do to get the editor to recognize EXTERNAL on any line, but right now EXTERNAL has to appear on the first line.

Regards
Big John