Attached is a test project in which the global variables I define in "Class_Globals" or "Process_Globals" are not being recognized as global variables. If I do not set the same definitions in both "B4XMainPage.bas" and "Module1.bas", then I cannot compile the project because it tells me various variables have not yet been defined. In my world, I thought you could define your global variables in one place, then everything in the project knows what the global variables are. But not here. It makes no sense to me. If anyone can help, I would appreciate your comments. The final output desired is the display (among other things) of the position of Saturn as ~162.1072, but the "Display_output_data_2a" routine is not treating cs1 as a global and therefore does not return its value to the calling routine in "B4XMainPage.bas".
The project requires the "SE_v201" library files, which are attached.
Thank you for your help.
The project requires the "SE_v201" library files, which are attached.
Thank you for your help.