[Scilab-users] Scilab API sciprint to print on the same line

Samuel Gougeon sgougeon at free.fr
Fri Dec 13 19:24:55 CET 2019


Le 13/12/2019 à 09:08, P M a écrit :
> .../...
> code directly put into console...do this step by step
> --> clc();
> --> for i=1:10 mprintf("%d\n",i) end
> 1
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
> 10
>
> --> clc(1)
> 1
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
>
> -->  // works as expected


No, 2 lines preceding the prompt are cleared instead of one: the 10, and 
the next blank line.





More information about the users mailing list