mirror of
https://github.com/wifinigel/MikrotikScripting.git
synced 2025-06-22 09:43:31 +02:00
7 lines
212 B
Text
7 lines
212 B
Text
|
# ch5-04-no-indentation.rsc
|
||
|
|
||
|
# Create an if-else statement with no additional indentation
|
||
|
:local DayOfWeek "Monday";
|
||
|
|
||
|
if ($DayOfWeek = "Monday") do={:put "Boo...it's Monday."
|
||
|
} else={:put "Yay! It's not Monday!"}
|