Page 1 of 1

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

Posted: Sun Jul 12, 2015 10:39 pm
by marrold
I find the current 4096 byte variable limit crippling, is there any plans to increase this?

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

Posted: Fri Sep 18, 2015 11:11 pm
by 23q
???????? :?

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

Posted: Sat May 21, 2016 12:41 pm
by jeroenp

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

Posted: Sat May 21, 2016 1:08 pm
by pe1chl
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.

Posted: Sun May 22, 2016 1:31 pm
by jarda
This is very good approach. I would like it too.

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

Posted: Sun May 22, 2016 2:24 pm
by jeroenp
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