Hello All,
Not too sure which was the most relevant thread to ask...
I've loaded up the nice Astro library. I'm having trouble reading the GetMoonData as it returns an array of five doubles.
my new instance is astro1 so how do I read each of the 5 double returned data?
something = astro1.GetMoonData(todayDay, todayMonth, todayYear.....)
Your help is much appreciated.
------------------------------ Added later -------------------------
This is probably a very fundamental thing which is easy to resolve with just a push in the right direction.
If the function returns an array of 5 elements (doubles) do I have to place the result array container at the end of the function such as...
astro1.GetMoonData(tDay, tMon, tYear, tMin, dHour, retData(5)) or something?
I tried doing this also...
astro1.GetMoonData(tDay, tMon, tYear, tMin, dHour, retA, retB, retC, retD, retE) but that didn't work either
azhar
Not too sure which was the most relevant thread to ask...
I've loaded up the nice Astro library. I'm having trouble reading the GetMoonData as it returns an array of five doubles.
my new instance is astro1 so how do I read each of the 5 double returned data?
something = astro1.GetMoonData(todayDay, todayMonth, todayYear.....)
Your help is much appreciated.
------------------------------ Added later -------------------------
This is probably a very fundamental thing which is easy to resolve with just a push in the right direction.
If the function returns an array of 5 elements (doubles) do I have to place the result array container at the end of the function such as...
astro1.GetMoonData(tDay, tMon, tYear, tMin, dHour, retData(5)) or something?
I tried doing this also...
astro1.GetMoonData(tDay, tMon, tYear, tMin, dHour, retA, retB, retC, retD, retE) but that didn't work either
azhar
Last edited: