Planetdance forum

Board index => Astrobasic => Topic started by: Jean on January 20, 2021, 02:38:51 PM

Title: looking for ingress
Post by: Jean on January 20, 2021, 02:38:51 PM
findaspect() can search for ingress.
There is now command(FUNCTION, 59, 1, 0), this sets a flag inside findevent() which lets it exit as soon as it finds the first ingress. This is handy when you just want to quickly search when a planet has the next ingress. You don't need to calculate an end time for the search, just use 250 years or something.
For an example see horoscope extra ingress.ab
Title: Re: looking for ingress
Post by: Jean on January 23, 2021, 03:34:24 PM
This has changed, findaspect now has the array options expanded to 20 chars:

Syntax: int findaspect(real start, real end, char p1[16], char asp[11], char option[20], real angle, real lon, real lat, real zone);
See it's help.

The extra options are:

9 exit after first find ingress
10 search void of course.

The rest of the options array is for future use.