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,15 +0,0 @@
|
|||
# filename: ch9-05-use-global-func.rsc
|
||||
|
||||
# declare the name of the global function we wish to use
|
||||
# to make it available in our script
|
||||
:global RemoveSpaceFunc;
|
||||
|
||||
# creates a string that contains spaces
|
||||
:local StringWithSpaces "txBroadcast = 201";
|
||||
|
||||
# print original string
|
||||
:put ("String with spaces: $StringWithSpaces");
|
||||
|
||||
# print string that is modified by function
|
||||
:local StringNoSpaces [$RemoveSpaceFunc $StringWithSpaces];
|
||||
:put ("String with no spaces: $StringNoSpaces");
|
Loading…
Add table
Add a link
Reference in a new issue