Re: [Scilab-users] Cannot start Xcos

2016-08-15 Thread Stefan Du Rietz
This line in my loadsci.sce is the culprit: r = input("usb2data? [n] ", "s"); The following lines don't matter. This must certainly be a bug? Regards Stefan On 2016-08-12 16:23, Stefan Du Rietz wrote: But why can I launch Xcos after running my loadsci.sce(!) if I have launched it before? D

Re: [Scilab-users] Cannot start Xcos

2016-08-15 Thread Stefan Du Rietz
1. Launch Scilab 2. Do this -->input("Press Return!", "s") -->xcos() Regards Stefan On 2016-08-15 17:58, Stefan Du Rietz wrote: This line in my loadsci.sce is the culprit: r = input("usb2data? [n] ", "s"); The following lines don't matter. This must certainly be a bug? Regards Stefan On

Re: [Scilab-users] Cannot start Xcos

2016-08-15 Thread Claus Futtrup
Hi Stefan An interesting find ... amazing. If you enter something (not just Return), then xcos opens. If you do not enter anything, then s contains an empty string, and xcos crashes. /Claus On 15-08-2016 20:04, Stefan Du Rietz wrote: 1. Launch Scilab 2. Do this -->input("Press Return!", "s"

Re: [Scilab-users] Cannot start Xcos

2016-08-15 Thread Stefan Du Rietz
Thank you, Claus, for confirming. But for me there is no difference and if I just enter return, r is a space character: -->r = input("Reply! ", "s"); -->mprintf("""%s""\n", r) " " -->ascii(r) ans = 32. /Stefan On 2016-08-15 22:13, Claus Futtrup wrote: Hi Stefan An interesting find ...