Code: Select all
:global currentdate
{
:local newdate "06-05-2022"
:if ($newdate => $currentdate) do= {:put "the new date is minor"} else={:put "the new date is major"}
:delay 2
set currentdate $newdate
}
EL DONCITO.
:global currentdate
{
:local newdate "06-05-2022"
:if ($newdate => $currentdate) do= {:put "the new date is minor"} else={:put "the new date is major"}
:delay 2
set currentdate $newdate
}