<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear Scilabers,<br><br>I have filled a bug report Bug# 14020, to indicate different behavior compared to previous version:<br><br><div><pre> // In Scilab 6.0.0 alpha1, carriage return's ascii code is not defined:
str=input("(Hit Enter):",'string');
ascii(str)
ans = (empty)
// While in Scilab 5.2.2, carriage return return in input returned space with ascii code (32):
str=input("(Hit Enter):",'string');
ascii(str)
ans = 32. <br><br><br>(If I am not mistaken, the ascii code of Carriage Return is 13)<br><br>How should we write code to detect carriage return in Scilab 6.0?<br>Shall we use from now on: isempty(str)?<br><br>Thanks and regards,<br><br>Rafael<br></pre></div> </div></body>
</html>