Community discussions

MikroTik App
 
marrold
Member
Member
Topic Author
Posts: 427
Joined: Wed Sep 04, 2013 10:45 am

Any plan to increase 4096 byte variable limit in ROS 7?

Sun Jul 12, 2015 10:39 pm

I find the current 4096 byte variable limit crippling, is there any plans to increase this?
 
23q
Frequent Visitor
Frequent Visitor
Posts: 57
Joined: Thu Sep 02, 2010 2:54 pm
Location: Ukraine

Re: Any plan to increase 4096 byte variable limit in ROS 7?

Fri Sep 18, 2015 11:11 pm

???????? :?
 
jeroenp
Member Candidate
Member Candidate
Posts: 159
Joined: Mon Mar 17, 2014 11:30 am
Location: Amsterdam
Contact:

Re: Any plan to increase 4096 byte variable limit in ROS 7?

Sat May 21, 2016 12:41 pm

 
pe1chl
Forum Guru
Forum Guru
Posts: 10529
Joined: Mon Jun 08, 2015 12:09 pm

Re: Any plan to increase 4096 byte variable limit in ROS 7?

Sat May 21, 2016 1:08 pm

In my opinion a more sensible approach would be to introduce the concept of file open (with resulting file handle)
and read line from open file (from filehandle, to variable) so a loop can be written that reads a file line by line
and it can be processed line by line.
With this construct the 4096 byte limit will normally not be any problem.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Sun May 22, 2016 1:31 pm

This is very good approach. I would like it too.
 
jeroenp
Member Candidate
Member Candidate
Posts: 159
Joined: Mon Mar 17, 2014 11:30 am
Location: Amsterdam
Contact:

Re: Any plan to increase 4096 byte variable limit in ROS 7?

Sun May 22, 2016 2:24 pm

In my opinion a more sensible approach would be to introduce the concept of file open (with resulting file handle)
and read line from open file (from filehandle, to variable) so a loop can be written that reads a file line by line
and it can be processed line by line.
That would only help if the handle approach:

1. was abstracted to any form of streaming (be it a file, network or memory stream, the latter for instance to allow for a varDump function to work)
2. could be specified the line termination (Windows, Mac, Unix, and others)
3. could write as well as read from a handle

--jeroen

Who is online

Users browsing this forum: chechito, Hagelsturm, sirbryan, TikYAN and 116 guests