Author Topic: Syntax Changes`  (Read 265 times)

0 Members and 1 Guest are viewing this topic.

Jean

  • Administrator
  • Sr. Member
  • *****
  • Posts: 347
    • View Profile
Syntax Changes`
« 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.
------------------------
Greetings from Groningen Netherlands <)))><.`.><(((>

ABer

  • Administrator
  • Sr. Member
  • *****
  • Posts: 300
    • View Profile
Re: Syntax Changes`
« Reply #1 on: April 03, 2021, 02:00:49 PM »
Thanks Jean - that's very helpful. Ed

Jean

  • Administrator
  • Sr. Member
  • *****
  • Posts: 347
    • View Profile
Re: Syntax Changes`
« Reply #2 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);
Greetings from Groningen Netherlands <)))><.`.><(((>