mirror of
https://github.com/wifinigel/MikrotikScripting.git
synced 2025-06-21 09:25:42 +02:00
10 lines
222 B
Text
10 lines
222 B
Text
|
# ch5-05-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!";
|
||
|
}
|