These constant macros system variables are used in ephemeris macro functions to provide an easier way to refer to planetary and ephemeris events than using their numerical IDs. Thus, instead of the following line of code,
sResult = PlanetaryEventSymbol(2, true)
you can write the following which is easier to write (and more obvious to read later):
sResult = PlanetaryEventSymbol(n_UPPER_CONJ, true)
The planetary and ephemeris events are specified using a numerical index, as found in the table below (for a description of the meaning of each of the events below, see the chapter on planetary events):
Index |
Name |
Index |
Name |
|
0 |
n_CONJUNCTION |
6 |
n_MAX_ELON_WEST |
|
1 |
n_LOWER_CONJ |
7 |
n_MAX_DIST |
|
2 |
n_UPPER_CONJ |
8 |
n_MIN_DIST |
|
3 |
n_OPPOSITION |
9 |
n_MAX_TRANSIT |
|
4 |
n_NEAR |
10 |
n_MIN_TRANSIT |
|
5 |
n_MAX_ELON_EAST |
We also plan on adding the following ephemeris events: lunar and solar eclipses, occultations and planets transiting infront of the Sun. If you need any of these events implemented rapidly, please contact us.
See also : Planetary IDs.