Skip to content

PAFiles produces error if displayed before setting parameter values #259

Description

@activeeon-bot

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions