[Scilab-users] string and excestr
Rafael Guerra
jrafaelbguerra at hotmail.com
Mon Jan 22 16:09:28 CET 2018
Hi Paul,
I do not know why your Scilab 5 code does not work in Scilab 6.
For long strings, the code might read more clearly by concatenating the different string with + sign as follows:
s = "" + ...
"printf(""Hello !\n""), " + ...
"";
execstr(s)
Another example:
s = "printf(""command#1\n""); " + ...
"printf(""Hello !\n""); " + ...
"printf(""command#3\n""); ";
execstr(s)
Regards,
Rafael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20180122/95ce6b98/attachment.htm>
More information about the users
mailing list