[Localization] size or type
Yuri Chornoivan
yurchor at ukr.net
Fri Oct 11 15:28:33 CEST 2013
п'ятниця, 11-жов-2013 05:38:53 ви написали:
Hi
I found in atoms this string:
"%s: Wrong size for input argument #%d: A boolean or single string
expected."
And i have question:
"size", not "type"?
[hidden email][1]
http://lists.scilab.org/mailman/listinfo/localization[2]
--------------------
*If you reply to this email, your message will be added to the discussion
below:* http://mailinglists.scilab.org/Localization-size-or-type-tp4027583.html[3]
To start a new topic under Scilab localization - Mailing Lists Archives, email
ml-node+s994242n2602259h35 at n3.nabble.com To unsubscribe from
Scilab localization - Mailing Lists Archives, click here[4].
NAML[5]
The code is (from atomsRemove.sci):
if typeof(section) <> "string" & typeof(section) <> "boolean" then
error(msprintf(gettext("%s: Wrong type for input argument #%d: A
boolean or single string expected.\n"),"atomsRemove",2));
end
if size(section, "*") <> 1 then
error(msprintf(gettext("%s: Wrong size for input argument #%d: A
boolean or single string expected.\n"),"atomsRemove",2));
end
So I think that everything is in its right place.
Best regards,
Yuri
--------
[1] /user/SendEmail.jtp?type=node&node=4027583&i=0
[2] http://lists.scilab.org/mailman/listinfo/localization
[3] http://mailinglists.scilab.org/Localization-size-or-type-tp4027583.html
[4]
http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=unsubscribe_
by_code&node=2602259&code=eXVyY2hvckB1a3IubmV0fDI2MDIyNTl8MjEz
MjIyODU5NQ==
[5]
http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer
&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespac
es.BasicNamespace-nabble.view.web.template.NabbleNamespace-
nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscrib
ers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-
send_instant_email%21nabble%3Aemail.naml
--
View this message in context: http://mailinglists.scilab.org/Re-Localization-size-or-type-tp4027595.html
Sent from the Scilab localization - Mailing Lists Archives mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/localization/attachments/20131011/19bc6b90/attachment.htm>
More information about the localization
mailing list