Has script processing changed in 6.1 from 6.0
This script, called demo1.rsc, copied to the files directory, and executed with an import command:
# This is a comment
:local xyz "xx123";
# Three previously acceptable lines
:log info ("----- Config admin password to $xyz")
/user set admin password=$xyz;
/user set admin password="$xyz";
This file previously worked in 6.0 and prior releases, but now produces the following:
[admin@MikroTik] > import file=demo61.rsc
#line 1
# This is a comment
#line 2
:local xyz "xx123";
#line 3
# Three previously acceptable lines
#line 4
:log info ("----- Config admin password to $xyz")
语法呃ror (line 1 column 45)
[admin@MikroTik] >
1. The individual lines are copied to the console
2. The comment lines are output in reverse video
3. the expansion of local variables now produces a syntax error
Perhaps i missed some additional documentation on changes to script processing? if so, can someone point me to it?
thanks in advance.