Unclear Module Reference

Discussion in 'Questions (Windows Mobile)' started by HARRY, Jan 8, 2009.

  1. HARRY

    HARRY Active Member Licensed 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
     
  2. Mr_Gee

    Mr_Gee Active Member Licensed 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)
     
  3. klaus

    klaus Expert Licensed 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.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice