[Scilab-users] disp(a,b,c) => display a, b, and finally c ; not c, b and then a <= Re: News: Scilab 6 Beta, VISA Toolbox, Embedded World 2016

Antoine Monmayrant antoine.monmayrant at laas.fr
Wed Feb 17 16:36:16 CET 2016


Le 02/17/2016 03:27 PM, Samuel Gougeon a écrit :
> Le 17/02/2016 15:12, amonmayr at laas.fr a écrit :
>>
>> What about adding to the list the infamous forgotten ";" after a huge 
>> matrix, aka "huge matrix display scrolling of death"?
>> See 
>> http://mailinglists.scilab.org/Scilab-users-Accidentally-displaying-huge-matrices-tc4032315.html#a4032319 
>> and http://bugzilla.scilab.org/show_bug.cgi?id=6286
>> It seems that a patch was proposed but never merged?
>
> You can customize your lines() in your .ini / .scilab. It is not 
> infamous to do.

Nope, that's not a decent solution.
As discussed previously, if you set lines() to a low value to avoid the 
"missing ; of death", you might break a lot of your script that 
generates some outuput on the console.
I've done it in the past, and it's never good to find out in the morning 
that the script that was supposed to run all night (and that reports 
progress from time to time) has stopped after half an hour, asking 
whether it should go own with the output on the console.
The default behaviour of the display should change and personally, I 
like the solution adopted by julia.

Antoine

> Unfortunately, disp() has no order option that could be tuned in the .ini.
> When reviewing your code, you wouldn't need to remove existing ";" 
> because the display of big matrices would be abstracted. An abstracted 
> display could be implemented later.
>
> SG
>
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users


-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

  Antoine Monmayrant LAAS - CNRS
  7 avenue du Colonel Roche
  BP 54200
  31031 TOULOUSE Cedex 4
  FRANCE

  Tel:+33 5 61 33 64 59
  
  email : antoine.monmayrant at laas.fr
  permanent email : antoine.monmayrant at polytechnique.org

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20160217/c6933b93/attachment.htm>


More information about the users mailing list