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
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
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"
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 ...