Editvar sometimes does not recognize a carriage return

After opening an editvar into a 36 by 4 character array A, sometimes the carriage return is not recognized. After entering A(1,1), the focus stays at A(1,1) and does not move to A(2,1) as is normally the case. The problem is intermittent and does not appear if at first working correctly.

Hello, welcome to Scilab’s Discourse,

Can you precise which version of Scilab and which platform/OS you are using ? I don’t experience your problem starting with an arbitrary 36x4 string array (see the video below).

S.

Hi Stephane,

This happens with either 2026.0.0 or 2025.0.0 64-bit versions running on Windows 10. I have used Scilab for many years, and this intermittent problem is new. When trying to edit data opening the 36x4 editvar, sometimes it works correctly and there is no problem. When it fails, closing Scilab and restarting my script may fix it, but occasionally this requires multiple tries. One issue that I reached out earlier about was what script commands are required to correctly close a running script. When closing my script through internal commands and then quitting Scilab, a vestigial Scilab app is left running in the background. For that reason, I now close Scilab using the task manager. Since this could be related, what are the proper script commands to completely stop a running script? Thanks very much.

Frank

Hi Stephane, Frank,

Using the test s=‘a’(ones(36,4)), it works fine to edit the array elements in both 2025.1.0 and 2026.0.0. Carriage return moves to the next element in the array. Using Windows 11 (25H2)

Lester