Community discussions

MikroTik App
 
dusan
just joined
Topic Author
Posts: 20
Joined: Wed Oct 27, 2004 11:35 am
Location: Czech Republic, Breclav

Setting global variable, unset command

Sun Sep 04, 2005 1:26 pm

Hello,

I found following bug in 2.9:

When I'm trying to assign global variable, it is allways set as local:

Terminal vt102 detected, using multiline input mode
[admin@MikroTik] > :global u
[admin@MikroTik] > :set u "hello"
[admin@MikroTik] > :environment print
Global Variables
Local Variables
u=hello
[admin@MikroTik] >


Unlike 2.8:

Terminal vt102 detected, using multiline input mode
[admin@NV40] > :global u
[admin@NV40] > :set u "hello"
[admin@NV40] > :environment print
Global Variables
u=hello
Local Variables
[admin@NV40] >

The :unset command doesn’t exist, although it is described in documentation.
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Sun Sep 04, 2005 6:43 pm

I ran into this as well, I think they've changed it on purpose for some reason.

Try :global u "value"

Sam

Who is online

Users browsing this forum: No registered users and 18 guests