update for v6/v7 support

This commit is contained in:
Wifinigel 2023-01-24 20:28:40 +00:00
parent 4871e9432b
commit b10b99bd87
120 changed files with 1479 additions and 22 deletions

View file

@ -0,0 +1,18 @@
# filename: ch7-03-if-else.rsc
# Print a greeting
:put "Hello, I hope you're well.";
# Check if the time is after 6pm (get time in 21:46:04 format)
:local CurrentTime [:system clock get time];
:put "The current time is : $CurrentTime";
# Say good morning if time is before 12:00
:if ($CurrentTime > 12:00) do={
:put "Good day!";
} else={
:put "Good morning!";
}
# Say goodbye
:put "Thanks for visiting, bye!";