scilab: fix String & printf previous commit
This commit is contained in:
parent
0e03e22e9d
commit
dead560910
1 changed files with 6 additions and 0 deletions
|
|
@ -465,10 +465,16 @@ public:
|
||||||
String *argnumber = NewString("");
|
String *argnumber = NewString("");
|
||||||
Printf(argnumber, "%d", minInputArguments);
|
Printf(argnumber, "%d", minInputArguments);
|
||||||
Replaceall(wrapper->code, "$mininputarguments", argnumber);
|
Replaceall(wrapper->code, "$mininputarguments", argnumber);
|
||||||
|
|
||||||
|
argnumber = NewString("");
|
||||||
Printf(argnumber, "%d", maxInputArguments);
|
Printf(argnumber, "%d", maxInputArguments);
|
||||||
Replaceall(wrapper->code, "$maxinputarguments", argnumber);
|
Replaceall(wrapper->code, "$maxinputarguments", argnumber);
|
||||||
|
|
||||||
|
argnumber = NewString("");
|
||||||
Printf(argnumber, "%d", minOutputArguments);
|
Printf(argnumber, "%d", minOutputArguments);
|
||||||
Replaceall(wrapper->code, "$minoutputarguments", argnumber);
|
Replaceall(wrapper->code, "$minoutputarguments", argnumber);
|
||||||
|
|
||||||
|
argnumber = NewString("");
|
||||||
Printf(argnumber, "%d", maxOutputArguments);
|
Printf(argnumber, "%d", maxOutputArguments);
|
||||||
Replaceall(wrapper->code, "$maxoutputarguments", argnumber);
|
Replaceall(wrapper->code, "$maxoutputarguments", argnumber);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue