From dc75c8f49b665d2572d751cb72937b42074c47e5 Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Tue, 25 Mar 2025 15:22:49 -0400 Subject: [PATCH] Tweak astro output. --- examples/astro | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/examples/astro b/examples/astro index 09745288..5bbae5af 100755 --- a/examples/astro +++ b/examples/astro @@ -92,19 +92,14 @@ set ms moonset() set mr_a moonrisedir() set ms_a moonsetdir() -IF mr < ms - REM NOQUEUE [mr] MSG The moon rises %3 in the [angle_to_direction(mr_a)] ([mr_a] degrees) - REM NOQUEUE [ms] MSG The moon sets %3 in the [angle_to_direction(ms_a)] ([ms_a] degrees) -ELSE - REM NOQUEUE [ms] MSG The moon sets %3 in the [angle_to_direction(ms_a)] ([ms_a] degrees) - REM NOQUEUE [mr] MSG The moon rises %3 in the [angle_to_direction(mr_a)] ([mr_a] degrees) -ENDIF +REM NOQUEUE [mr] MSG Moonrise: %*3 in the [angle_to_direction(mr_a)] ([mr_a] degrees) +REM NOQUEUE [ms] MSG Moonset: %*3 in the [angle_to_direction(ms_a)] ([ms_a] degrees) IF (datepart(mr) != today()) - REM MSG There is no moonrise today + REM MSG Moonrise: No moonrise today ENDIF IF (datepart(ms) != today()) - REM MSG There is no moonset today + REM MSG Moonset: No moonset today ENDIF EOF