Planetdance forum

Board index => Astrobasic => Topic started by: Jean on April 03, 2021, 12:34:45 PM

Title: Syntax Changes`
Post by: Jean on April 03, 2021, 12:34:45 PM
Hi,
In this topic i will announces changes to syntax.
Whenever this happens, i will adjust all necessary scripts myself, but you should update if your own scripts are affected.

------------------------
- 2020 april 3, added minute parameter to drawpos().

Syntax: drawpos(int mx, int my, int angle, int radius, int fontsize, char minutes, real r);
Action: draws the length 'r' at angle and radius, if minutes = 0, no minutes are displayed.
------------------------
Title: Re: Syntax Changes`
Post by: ABer on April 03, 2021, 02:00:49 PM
Thanks Jean - that's very helpful. Ed
Title: Re: Syntax Changes`
Post by: Jean on April 08, 2021, 02:31:40 PM
Syntax for gettimezone() has changed, the 'togmt' parameter was removed, it's not used in astrobasic and was confusing.

New syntax: gettimezone(char place[], real jd);