Community discussions

MikroTik App
 
User avatar
deadkat
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Sun Nov 15, 2020 11:14 pm
Location: Alabama, USA

unknown operator "activate in environment"

Thu Jun 23, 2022 7:40 pm

A coworker of mine was poking around in the terminal and noticed that one of the available operators inside of parentheses for a `put` or `if` statement is the following `<%% activate in environment`

however it doesn't seem to be doing anything with different types of data given to it.
does anyone use this operator or know what it would be used for? I can't find anything about this in the docs.
MicrosoftTeams-image.png
You do not have the required permissions to view the files attached to this post.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: unknown operator "activate in environment"

Fri Jun 24, 2022 5:24 pm

???

terminal code

[test@test] > :put [:parse ":local test (0 <%% 1)"]      
(eval /localname=$test;value=(<%% 0 1))

[test@test] > :put [:parse ":local test (0 < 1 % 2 % 3)"]   
(eval /localname=$test;value=(< 0 (% (% 1 2) 3)))

Who is online

Users browsing this forum: seriosha, sted and 13 guests