PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: cCalendar Version 1.01  (Read 971 times)

Richard Kelly

  • FireFly3 Registered User
  • Senior Member
  • *
  • Posts: 323
cCalendar Version 1.01
« on: December 05, 2017, 01:10:24 AM »

The problem with LunarIllumination was obscure and obtuse. I visited and revisited it many times over the past 3-4 months before my pea brain understood....

Currently working on increasing the accuracy of the lunar and solar calculations to be better aligned with each other. I'll clean up the compiler warnings at that time as well.

Version 1.01

1. Renamed cCalendar.inc to cCalendar.bi
2. FB include folder cCalendar added
3. Function LunarIllumination added

https://github.com/breacsealgaire/Calendar_Calculations-Freebasic
Logged

Josť Roca

  • FireFly3 Registered User
  • Master Member
  • *
  • Posts: 3083
    • Jos
Re: cCalendar Version 1.01
« Reply #1 on: December 06, 2017, 01:20:20 AM »

Hi Richard,

There are still parameters without an explicit BYVAL/BYREF and there are many mixed operands not supported by version 1.05 (this has been fixed in version 1.06). I advise you to compile using the -w pedantic option.

I have fixed these issues in the attached file. If you don't fix it, your code risks to be ignored.

Richard Kelly

  • FireFly3 Registered User
  • Senior Member
  • *
  • Posts: 323
Re: cCalendar Version 1.01
« Reply #2 on: December 07, 2017, 11:00:59 PM »

Hi Richard,

There are still parameters without an explicit BYVAL/BYREF and there are many mixed operands not supported by version 1.05 (this has been fixed in version 1.06). I advise you to compile using the -w pedantic option.

I have fixed these issues in the attached file. If you don't fix it, your code risks to be ignored.

That surely was generous of you Jose. I knew about the warnings and had yet to clean them up. GitHub updated and the change log noted with you as a contributor.

I know cCalendar is a 'niche' piece of software and never expect it will get any serious use. GitHub is my 'offsite' repository for backups.....

Rick Kelly
Logged

Richard Kelly

  • FireFly3 Registered User
  • Senior Member
  • *
  • Posts: 323
Re: cCalendar Version 1.01
« Reply #3 on: June 26, 2018, 11:57:57 PM »

Version 1.10 now available on GitHub

https://github.com/breacsealgaire/Calendar_Calculations-Freebasic

Changes Made:

1. Added support for Samaritan calendar
2. Higher precisions for astronomical calculations
3. Separation of functions for moonrise and moonset
4. Additional support for Daylight Savings adjustments
5. Location support added to Function LunarIllumination
6. Support functions cmApparentFromUniversal and cmUniversalFromApparent added
Logged