Unclear Module Reference

HARRY

Active Member
Licensed User
Longtime User
Hi,

As I want to do something with sunrise and sunset data, I downloaded from this forum astro-gps. It works very well, but there is somethging I don't understand. There is a file called module.txt. In this file some essential calculations are done. If I rename this file it is reported as being missed when the program is started. But I cannot find any reference to that file. Can somebody explain the mechanism to me?


Harry
 

Mr_Gee

Active Member
Licensed User
Longtime User
Click Tools>Components
you'll see that module.txt is refrenced

I think this was a way to use "modules" before B4P supported modules (*.bas)
 

klaus

Expert
Licensed User
Longtime User
Before version 6.50, the were no modules.
But there existed another means (that still does exist) to split the source code, into txt files.

You find an explanation about this subject in the MainHelp under Basics/Code files.

These text files must be referenced to with Tools>Components and Add code.
If you modify the filename you must change the its reference in the main sbp program.

Best regards.
 
Top