mirror of
https://github.com/wifinigel/MikrotikScripting.git
synced 2025-07-10 01:54:30 +02:00
update for v6/v7 support
This commit is contained in:
parent
4871e9432b
commit
b10b99bd87
120 changed files with 1479 additions and 22 deletions
|
@ -1,14 +0,0 @@
|
|||
# ch6-02-undeclared-variable.rsc
|
||||
|
||||
# Declare a variable but assign no value
|
||||
:local RouteDistance;
|
||||
|
||||
# Let's test the data type of the variable
|
||||
:if ([:typeof $RouteDistance] = "nothing") do={
|
||||
:put "Test 1: this variable has no value!";
|
||||
}
|
||||
|
||||
# Let's test the data type of a non-existent variable
|
||||
:if ([:typeof $RouteDist] = "nothing") do={
|
||||
:put "Test 2: this variable has no value!";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue