Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAFiles produces error if displayed before setting parameter values #259

Open
activeeon-bot opened this issue Mar 19, 2015 · 0 comments
Open

Comments

@activeeon-bot
Copy link

Original issue created by Laurent Pellegrino on 19, Mar 2015 at 11:30 AM - MSC-270


Let's assume the following Scilab expressions are evaluated:

-->f = PAFiles(2);
-->f

Then, the following error is produced:

 f  =

{  !--error 999 
mprintf : Nombre errone d'arguments d'entree : Les donnees ne correspondent pas au format.
at line       2 of function %PAFile_p called by :  
at line       8 of function %PAFiles_p called by :  
f

That's not a critical issue since it does not prevent to use the object. However it can be really confusing for users.

The idea would be to edit file in macros/%PAFile_p.sci in order to check if parameters are set or not before trying to access their value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants