final edit fixes

This commit is contained in:
Wifinigel 2023-02-19 13:53:15 +00:00
parent b10b99bd87
commit f3beb2ed9b
41 changed files with 164 additions and 150 deletions

View file

@ -5,7 +5,7 @@
:put "The current time is : $CurrentTime";
# declare the time of day variable
:local TimeOfDay
:local TimeOfDay;
# Check if it's before noon
:if ($CurrentTime < 12:00) do={
@ -13,7 +13,8 @@
# it's before noon, let's see what time of the morning
# it is using a nested if-else statement
if ($CurrentTime < 06:00) do={
:set TimeOfDay "It's very early in the morning...shouldn't you be in bed?";
:set TimeOfDay "It's very early in the morning...shouldn't \
you be in bed?";
} else={
# it must be between 06:01 and 11:59 to reach here
:set TimeOfDay "Good morning!";