no window exists: xstringb(..) => "Objstring: No more memory."
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
--> xdel();
--> t = "Here is a sample";
--> xstringb(0,0,[t ; " "; t],1,1)
Objstring: No more memory.
In Scilab 5.5.2, the message was a bit clearer:
---------------
-->xstringb(0,0,[t ; " "; t],1,1)
!--error 999
The parent has to be a SUBWIN
!--error 999
Objstring: No more memory.
But even there,
* if the first message is only a warning, a figure should be created when none exists.
* otherwise, the second message should not be displayed.
ERROR LOG:
----------
Objstring: No more memory.
HOW TO REPRODUCE THE BUG:
-------------------------
t = "Here is a sample"
xstringb(0,0,[t ; " "; t],1,1)