* [#15449](http://bugzilla.scilab.org/show_bug.cgi?id=15449): Some small changes were required to ease the compilation with gcc >= 7.
* [#15450](http://bugzilla.scilab.org/show_bug.cgi?id=15450): Scilab's compilation did not support the ppc64le architecture.
* [#15453](http://bugzilla.scilab.org/show_bug.cgi?id=15453): Scilab's compilation needed HOME to be writable.
+* [#15454](http://bugzilla.scilab.org/show_bug.cgi?id=15454): Hundreds of typos fixed all over the code: occured => occured, formated => formatted, an other => another, setted => set, retrived => retrieved ..
* [#15464](http://bugzilla.scilab.org/show_bug.cgi?id=15464): Xcos C-blocks could not link dlls on Windows.
* [#15484](http://bugzilla.scilab.org/show_bug.cgi?id=15484): On Windows, `isdir("w:")`, `isdir("w:/")`, and `isdir("w:\")` returned %T whenever the W: drive does not exist.
* [#15489](http://bugzilla.scilab.org/show_bug.cgi?id=15489): Help pages of `covStart`, `covStop`, `covWrite` and `covMerge` were not built for the fr, ja, pt and ru languages, and were unreachable from a session in non `en_US` language.
* [#6307](http://bugzilla.scilab.org/show_bug.cgi?id=6307): There were no easy versions of `lqr`, `lqe`, and `lqg`
* [#7192](http://bugzilla.scilab.org/show_bug.cgi?id=7192): From `S=[]`, `S($+1,:) = some_row` inserted it in row#2 after a parasitic row#1.
* [#7649](http://bugzilla.scilab.org/show_bug.cgi?id=7649): `isempty` returned `%F` on `struct()`, `{}` or `list(,)` and was not shortcut
-* [#7696](http://bugzilla.scilab.org/show_bug.cgi?id=7696): The `parallel_run` help page was poorly formated
+* [#7696](http://bugzilla.scilab.org/show_bug.cgi?id=7696): The `parallel_run` help page was poorly formatted
* [#7794](http://bugzilla.scilab.org/show_bug.cgi?id=7794): The example in the `findABCD` help page failed.
* [#7958](http://bugzilla.scilab.org/show_bug.cgi?id=7958): `mrfit`did not allow a fourth parameter as shown in the help page.
* [#8010](http://bugzilla.scilab.org/show_bug.cgi?id=8010): Permanent variables could be redefined through a syntax like `%i(1,1)=1`
* [#14095](http://bugzilla.scilab.org/show_bug.cgi?id=14095): Scilab crashed when a .fig file was loaded with `loadmatfile` function.
* [#14096](http://bugzilla.scilab.org/show_bug.cgi?id=14096): Issue with `mscanf`.
* [#14097](http://bugzilla.scilab.org/show_bug.cgi?id=14097): `genlib` no more adds a separator at the end of the lib path if it is not given in the directory path.
-* [#14099](http://bugzilla.scilab.org/show_bug.cgi?id=14099): `sci2exp` macro was fixed to avoid "a+[] Warning". string(polynomials|rationals) had badly formated outputs and was not vectorized
+* [#14099](http://bugzilla.scilab.org/show_bug.cgi?id=14099): `sci2exp` macro was fixed to avoid "a+[] Warning". string(polynomials|rationals) had badly formatted outputs and was not vectorized
* [#14105](http://bugzilla.scilab.org/show_bug.cgi?id=14105): New block comments `/*...*/` feature was not documented.
* [#14107](http://bugzilla.scilab.org/show_bug.cgi?id=14107): `lstcat` of a string and a list did not produce consistent results.
* [#14109](http://bugzilla.scilab.org/show_bug.cgi?id=14109): `lsq` crashed Scilab when Scilab version depended on MKL library.
void opposite();
/*
- compares with an other value for equality (same nb of elts, with same values)
+ compares with another value for equality (same nb of elts, with same values)
TODO: should it handle other types ?
*/
bool operator==(const InternalType& it) SPARSE_CONST;
/*
- compares with an other value for inequality (same nb of elts, with same values)
+ compares with another value for inequality (same nb of elts, with same values)
TODO: should it handle other types ?
*/
bool operator!=(const InternalType& it) SPARSE_CONST
*/
void toComplex();
- /* coefficient wise relational operator < between *this sparse matrix and an other.
+ /* coefficient wise relational operator < between *this sparse matrix and another.
Matrices must have the same dimensions except if one of them is of size (1,1)
(i.e. a scalar) : it is then treated as a constant matrix of thre required dimensions.
*/
SparseBool* newLessThan(Sparse &o);
- /* coefficient wise relational operator != between *this sparse matrix and an other.
+ /* coefficient wise relational operator != between *this sparse matrix and another.
Matrices must have the same dimensions except if one of them is of size (1,1)
(i.e. a scalar) : it is then treated as a constant matrix of thre required dimensions.
*/
SparseBool* newNotEqualTo(Sparse const&o) const;
- /* coefficient wise relational operator <= between *this sparse matrix and an other.
+ /* coefficient wise relational operator <= between *this sparse matrix and another.
Matrices must have the same dimensions except if one of them is of size (1,1)
(i.e. a scalar) : it is then treated as a constant matrix of thre required dimensions.
*/
SparseBool* newLessOrEqual(Sparse &o);
- /* coefficient wise relational operator == between *this sparse matrix and an other.
+ /* coefficient wise relational operator == between *this sparse matrix and another.
Matrices must have the same dimensions except if one of them is of size (1,1)
(i.e. a scalar) : it is then treated as a constant matrix of thre required dimensions.
v.emplace_back(new PositiveConstraint());
// Strict positivity of a value
v.emplace_back(new StrictPositiveConstraint());
- // Is a value greater than an other ?
+ // Is a value greater than another ?
v.emplace_back(new GreaterConstraint());
- // Is a value strict greater than an other ?
+ // Is a value strict greater than another ?
v.emplace_back(new StrictGreaterConstraint());
// Valid index
v.emplace_back(new ValidIndexConstraint());
ConfigVariable::setSilentError(oldVal);
//to lock lasterror
ConfigVariable::setLastErrorCall();
- // reset call stack filled when error occured
+ // reset call stack filled when error occurred
ConfigVariable::resetWhereError();
try
{
types::typed_list* pArgs = pEH->getArgs();
- // should never occured
+ // should never occur
if (pArgs == NULL || pArgs->size() == 0)
{
std::wostringstream os;
SinglePoly** pSPTempOut = pITTempOut->getAs<Polynom>()->get();
pSPOut[i] = pSPTempOut[0];
// increase ref to avoid the delete of pSPTempOut[0]
- // which are setted in pSPOut without copy.
+ // which are set in pSPOut without copy.
pSPOut[i]->IncreaseRef();
delete pITTempOut;
pSPOut[i]->DecreaseRef();
delete[] pDblPower;
// delete temporary polynom
- // do not delete the last SinglePoly of _pPoly setted without copy in pPolyTemp
+ // do not delete the last SinglePoly of _pPoly set without copy in pPolyTemp
pSPTemp[0]->IncreaseRef();
delete pPolyTemp;
pSP[iSize - 1]->DecreaseRef();
This signal can be sent without any threads are waiting for,
so we have to perform the Wait for each call to WaitForRunMeSignal.
- (This can happends when an execution is interrupted by an other one.
+ (This can happends when an execution is interrupted by another one.
This signal is sent but the main thread is not waiting for.)
The loop while is used to avoid spurious wakeup of __Wait.
}
// Get the lower matrix of factorization.
- // The new RealSparse_t will be setted in Sparse without copy.
+ // The new RealSparse_t will be set in Sparse without copy.
*_SpFactor = new Sparse(new RealSparse_t(pLLT.matrixL()), NULL);
// Get the permutation matrix.
#
# File: modules/atoms/macros/atomsGetConfig.sci, line: 127
#, c-format
-msgid "%s: The config file ('%s') is not well formated at line %d\n"
+msgid "%s: The config file ('%s') is not well formatted at line %d\n"
msgstr ""
#
# File: modules/atoms/macros/atoms_internals/atomsDESCRIPTIONread.sci, line: 144
#, c-format
msgid ""
-"%s: The file %s is not well formated, the toolbox %s - %s does not contain "
+"%s: The file %s is not well formatted, the toolbox %s - %s does not contain "
"the %s field\n"
msgstr ""
#
# File: modules/atoms/macros/atoms_internals/atomsDESCRIPTIONread.sci, line: 247
#, c-format
-msgid "%s: The file '%s' is not well formated at line %d\n"
+msgid "%s: The file '%s' is not well formatted at line %d\n"
msgstr ""
#
#
# File: modules/atoms/macros/atoms_internals/atomsReadDesc.sci, line: 73
#, c-format
-msgid "%s: The description is not well formated at line %d\n"
+msgid "%s: The description is not well formatted at line %d\n"
msgstr ""
#
result(current_field) = current_value;
end
else
- error(msprintf(gettext("%s: The config file (''%s'') is not well formated at line %d\n"),"atomsGetConfig",atoms_directory+"config",i));
+ error(msprintf(gettext("%s: The config file (''%s'') is not well formatted at line %d\n"),"atomsGetConfig",atoms_directory+"config",i));
end
end
missingfield = atomsCheckFields( current_toolbox );
if ~ isempty(missingfield) then
atomsCloseProgressBar(winId);
- error(msprintf(gettext("%s: The file ""%s"" is not well formated, the toolbox ""%s - %s"" does not contain the %s field\n"), ..
+ error(msprintf(gettext("%s: The file ""%s"" is not well formatted, the toolbox ""%s - %s"" does not contain the %s field\n"), ..
"atomsDESCRIPTIONread",..
file_in,current_toolbox("Toolbox"),..
current_toolbox("Version"),..
// Else Error
atomsCloseProgressBar(winId);
- error(msprintf(gettext("%s: The file ''%s'' is not well formated at line %d\n"),"atomsDESCRIPTIONread",file_in,i));
+ error(msprintf(gettext("%s: The file ''%s'' is not well formatted at line %d\n"),"atomsDESCRIPTIONread",file_in,i));
end
end
// Else Error
- error(msprintf(gettext("%s: The description is not well formated at line %d\n"),"atomsReadDesc",i));
+ error(msprintf(gettext("%s: The description is not well formatted at line %d\n"),"atomsReadDesc",i));
end
// http://bugzilla.scilab.org/show_bug.cgi?id=7149
//
// <-- Short Description -->
-// For a wrong formated toolbox list ATOMS doesn't report the error and crashes.
+// For a wrong formatted toolbox list ATOMS doesn't report the error and crashes.
// Please change line 169 of the file modules\atoms\macros\atoms_internalsatomsDESCRIPTIONread.sci from:
-// error(msprintf(gettext("%s: The file ""%s"" is not well formated at line %d\n"),"atomsDESCRIPTIONread",filein,i));
+// error(msprintf(gettext("%s: The file ""%s"" is not well formatted at line %d\n"),"atomsDESCRIPTIONread",filein,i));
// to:
-// error(msprintf(gettext("%s: The file ""%s"" is not well formated at line %d\n"),"atomsDESCRIPTIONread",file_in,i));
+// error(msprintf(gettext("%s: The file ""%s"" is not well formatted at line %d\n"),"atomsDESCRIPTIONread",file_in,i));
load(SCI+"/modules/atoms/macros/atoms_internals/lib");
mputl("abcdef",TMPDIR+"/DESCRIPTION");
execstr("atomsDESCRIPTIONread(TMPDIR+""/DESCRIPTION"");","errcatch");
-if lasterror() <> msprintf(gettext("%s: The file ''%s'' is not well formated at line %d\n"),"atomsDESCRIPTIONread",TMPDIR+"/DESCRIPTION",1) then bugmes();quit;end
+if lasterror() <> msprintf(gettext("%s: The file ''%s'' is not well formatted at line %d\n"),"atomsDESCRIPTIONread",TMPDIR+"/DESCRIPTION",1) then bugmes();quit;end
// http://bugzilla.scilab.org/show_bug.cgi?id=7149
//
// <-- Short Description -->
-// For a wrong formated toolbox list ATOMS doesn't report the error and crashes.
+// For a wrong formatted toolbox list ATOMS doesn't report the error and crashes.
// Please change line 169 of the file modules\atoms\macros\atoms_internalsatomsDESCRIPTIONread.sci from:
-// error(msprintf(gettext("%s: The file ""%s"" is not well formated at line %d\n"),"atomsDESCRIPTIONread",filein,i));
+// error(msprintf(gettext("%s: The file ""%s"" is not well formatted at line %d\n"),"atomsDESCRIPTIONread",filein,i));
// to:
-// error(msprintf(gettext("%s: The file ""%s"" is not well formated at line %d\n"),"atomsDESCRIPTIONread",file_in,i));
+// error(msprintf(gettext("%s: The file ""%s"" is not well formatted at line %d\n"),"atomsDESCRIPTIONread",file_in,i));
load(SCI+"/modules/atoms/macros/atoms_internals/lib");
mputl("abcdef",TMPDIR+"/DESCRIPTION");
execstr("atomsDESCRIPTIONread(TMPDIR+""/DESCRIPTION"");","errcatch");
-if lasterror() <> msprintf(gettext("%s: The file ''%s'' is not well formated at line %d\n"),"atomsDESCRIPTIONread",TMPDIR+"/DESCRIPTION",1) then pause, end
+if lasterror() <> msprintf(gettext("%s: The file ''%s'' is not well formatted at line %d\n"),"atomsDESCRIPTIONread",TMPDIR+"/DESCRIPTION",1) then pause, end
# File: modules/cacsd/sci_gateway/cpp/sci_residu.cpp, line: 152
# File: modules/cacsd/sci_gateway/cpp/sci_residu.cpp, line: 195
#, c-format
-msgid "%s: An error occured in '%s'.\n"
+msgid "%s: An error occurred in '%s'.\n"
msgstr ""
#
pdblInR[2][i], piRank[2]+i, &v, &dblEps, &iErr);
if (iErr)
{
- Scierror(78, _("%s: An error occured in '%s'.\n"), "residu", "residu");
+ Scierror(78, _("%s: An error occurred in '%s'.\n"), "residu", "residu");
throw iErr;
}
if (iErr)
{
- Scierror(78, _("%s: An error occured in '%s'.\n"), "residu", "wesidu");
+ Scierror(78, _("%s: An error occurred in '%s'.\n"), "residu", "wesidu");
throw iErr;
}
$ '------------------------------------------------------')
else if(ifich.eq.22) then
call basout(ifl,nwf,
- $ ' Unwanted loop beetween two orders..., Stop')
+ $ ' Unwanted loop between two orders..., Stop')
else if(ifich.eq.23) then
write(buf(1:2),'(i2)') neqbac
call basout(ifl,nwf,'Il y a eu '//buf(1:2)//
if(ifich.eq.80) then
call basout(ifl,nwf,'Already reached minimum ')
else if(ifich.eq.81) then
- call basout(ifl,nwf,'Preserve minimun in tback ')
+ call basout(ifl,nwf,'Preserve minimum in tback ')
endif
return
end
}
printf("\n");
- printf("Display from B formated (size: %d, %d):\n", rowB_, colB_);
+ printf("Display from B formatted (size: %d, %d):\n", rowB_, colB_);
for (j = 0 ; j < rowB_ ; j++)
{
for (i = 0 ; i < colB_ ; i++)
{
- /* Display the formated matrix ... the way the user
+ /* Display the formatted matrix ... the way the user
* expect */
printf("%d ", matrixOfBooleanB[i * rowB_ + j]);
}
}
printf("\n");
- printf("Display formated A (size: %d, %d):\n", rowA_, colA_);
+ printf("Display formatted A (size: %d, %d):\n", rowA_, colA_);
for (i = 0; i < rowA_ * colA_; i++)
{
fprintf(stdout, "%5.2f + %5.2f.i ", matrixOfComplex[i], matrixOfComplex[i + colA_]);
}
printf("\n");
- printf("Display from B formated (size: %d, %d):\n", rowB_, colB_);
+ printf("Display from B formatted (size: %d, %d):\n", rowB_, colB_);
for (j = 0 ; j < rowB_ ; j++)
{
for (i = 0 ; i < colB_ ; i++)
{
- /* Display the formated matrix ... the way the user
+ /* Display the formatted matrix ... the way the user
* expect */
printf("%5.2f + %5.2f.i ", matrixOfComplexB[i * rowB_ + j], matrixOfComplexB_img[i * rowB_ + j]);
}
}
printf("\n");
- printf("Display from B formated (size: %d, %d):\n", rowB_, colB_);
+ printf("Display from B formatted (size: %d, %d):\n", rowB_, colB_);
for (j = 0 ; j < rowB_ ; j++)
{
for (i = 0 ; i < colB_ ; i++)
{
- /* Display the formated matrix ... the way the user
+ /* Display the formatted matrix ... the way the user
* expect */
printf("%5.2f ", matrixOfDoubleB[i * rowB_ + j]);
}
{
for (i = 0 ; i < iRows ; i++)
{
- /* Display the formated matrix with same scilab indice */
+ /* Display the formatted matrix with same scilab indice */
printf("[%d,%d] = %s\n", j + 1, i + 1, pstData[j * iRows + i]);
}
}
{
for (i = 0 ; i < iRows ; i++)
{
- /* Display the formated matrix with same scilab indice */
+ /* Display the formatted matrix with same scilab indice */
printf("[%d,%d] = %s\n", j + 1, i + 1, pstData[j * iRows + i]);
}
}
program callsci
c!Purpose
-c Example of calling scilab from an other C or Fortran program
+c Example of calling scilab from another C or Fortran program
c!Description
c This program demonstrate on a simple example to use scilab as a
-c procedure for an other program
+c procedure for another program
c The computations performed are:
c -1- computation of x such that a*x=b (a and b real matrices)
c -2- computation of y=a*x-b
*/
printf("\n");
-printf("Display from B formated (size: %d, %d):\n",rowB_, colB_);
+printf("Display from B formatted (size: %d, %d):\n",rowB_, colB_);
for(j = 0 ; j < rowB_ ; j++)
{
for(i = 0 ; i < colB_ ; i++)
{
- /* Display the formated matrix ... the way the user expects */
+ /* Display the formatted matrix ... the way the user expects */
printf("%d ",matrixOfBooleanB[i * rowB_ + j]);
}
printf("\n"); /* New row of the matrix */
*/
printf("\n");
-printf("Display from B formated (size: %d, %d):\n",rowB_, colB_);
+printf("Display from B formatted (size: %d, %d):\n",rowB_, colB_);
for(j = 0 ; j < rowB_ ; j++)
{
for(i = 0 ; i < colB_ ; i++)
{
- /* Display the formated matrix ... the way the user
+ /* Display the formatted matrix ... the way the user
* expect */
printf("%5.2f + %5.2f.i ",matrixOfComplexB[i * rowB_ + j],matrixOfComplexB_img[i * rowB_ + j]);
*/
printf("\n");
-printf("Display from B formated (size: %d, %d):\n",rowB_, colB_);
+printf("Display from B formatted (size: %d, %d):\n",rowB_, colB_);
for(j = 0 ; j < rowB_ ; j++)
{
for(i = 0 ; i < colB_ ; i++)
{
- /* Display the formated matrix ... the way the user
+ /* Display the formatted matrix ... the way the user
* expect */
printf("%5.2f ",matrixOfDoubleB[i * rowB_ + j]);
}
{
for(i = 0 ; i < iRows ; i++)
{
- /* Display the formated matrix with same scilab index */
+ /* Display the formatted matrix with same scilab index */
printf("[%d,%d] = %s\n",j+1,i+1,pstData[j* iRows + i]);
}
}
application.
</para>
<para>Thanks to this module, it is possible to call Scilab from C/C++ in
- order to interface Scilab's features from an other code/application or to
- be able to interface Scilab's features from an other language.
+ order to interface Scilab's features from another code/application or to
+ be able to interface Scilab's features from another language.
</para>
<para>Since Scilab 5.2.0, all Scilab datatype can be handle by call_scilab.
This is done thanks to <link linkend="api_scilab">API_Scilab</link>
if ((m != 1) && (n != 1))
{
- fprintf(stderr, "Error: SendScilabJob (3) call_scilab detected a badly formated 'Err_Job' variable. Size [1,1] expected.\n");
+ fprintf(stderr, "Error: SendScilabJob (3) call_scilab detected a badly formatted 'Err_Job' variable. Size [1,1] expected.\n");
retCode = -3;
if (command)
/**
* To be called when all the information about the exceptions have been
- * retrived.
+ * retrieved.
* Remove the exception from the environment.
*/
void JniException::closeException(JNIEnv * curEnv)
std::string retrieveExceptionName(JNIEnv * curEnv);
/**
* To be called when all the information about the exceptions have been
-* retrived.
+* retrieved.
* Remove the exception from the environment.
*/
void closeException(JNIEnv * curEnv);
jSP.getVerticalScrollBar().setModel(new DefaultBoundedRangeModel(model.getValue(), model.getExtent(), model.getMinimum(), model.getMaximum()) {
public void setRangeProperties(int newValue, int newExtent, int newMin, int newMax, boolean adjusting) {
// This method is overriden to keep the knob at the bottom during viewport resize
- // and to keep the knob at an other place if the user decided it.
+ // and to keep the knob at another place if the user decided it.
if (newMax != getMaximum()) {
if (!adjusting) {
if (atBottom) {
CheckRow(2, m2, n2); // Checks that second argument is a row vector
// CheckColumn can also be used
- CheckDimProp(1, 2, m1 * n1 != n2); // Check compatibility beetween arg 1 and arg 2. We want m1*n1 == n2
+ CheckDimProp(1, 2, m1 * n1 != n2); // Check compatibility between arg 1 and arg 2. We want m1*n1 == n2
////////////////////////////
// Getting third argument //
}
}
-// Thread used to parse and execute Scilab command setted in storeCommand
+// Thread used to parse and execute Scilab command set in storeCommand
void* scilabReadAndExecCommand(void* param)
{
char* command = NULL;
if (iWaitFor)
{
// make this wait before unlock the Store Command will prevent
- // dead lock in case where an other thread get this command
+ // dead lock in case where another thread get this command
// and execute it before this thread is waiting for.
ThreadManagement::WaitForConsoleExecDoneSignal();
}
associated to data types to form the name of the overloading function
(see <link linkend="overloading">overloading</link>). The <function>typename</function> can be used to handle this
formal names for hard coded data types (the <literal>tlist</literal> or <literal>mlist</literal>
- coded data types formal names are defined in an other way, see <link linkend="overloading">overloading</link>).
+ coded data types formal names are defined in another way, see <link linkend="overloading">overloading</link>).
</para>
<para>
<function>typename</function> returns information on defined data types.
# File: modules/differential_equations/sci_gateway/cpp/sci_odedc.cpp, line: 1452
# File: modules/differential_equations/sci_gateway/cpp/sci_odedc.cpp, line: 1506
#, c-format
-msgid "%s: An error occured in '%s' subroutine.\n"
+msgid "%s: An error occurred in '%s' subroutine.\n"
msgstr ""
#
# File: modules/differential_equations/sci_gateway/cpp/sci_ode.cpp, line: 1152
# File: modules/differential_equations/sci_gateway/cpp/sci_ode.cpp, line: 1376
#, c-format
-msgid "%ls: An error occured in '%ls' subroutine.\n"
+msgid "%ls: An error occurred in '%ls' subroutine.\n"
msgstr ""
#
# File: modules/differential_equations/src/cpp/differentialequationfunctions.cpp, line: 763
# File: modules/differential_equations/src/cpp/differentialequationfunctions.cpp, line: 791
#, c-format
-msgid "User function '%s' have not been setted.\n"
+msgid "User function '%s' have not been set.\n"
msgstr ""
#
DifferentialEquation::removeDifferentialEquationFunctions();
wchar_t szError[bsiz];
- os_swprintf(szError, bsiz, _W("%s: An error occured in '%s' subroutine.\n").c_str(), "bvode", "bvode");
+ os_swprintf(szError, bsiz, _W("%s: An error occurred in '%s' subroutine.\n").c_str(), "bvode", "bvode");
os << szError;
throw ast::InternalError(os.str());
}
if (bCatch)
{
wchar_t szError[bsiz];
- os_swprintf(szError, bsiz, _W("%ls: An error occured in '%ls' subroutine.\n").c_str(), L"daskr", L"ddaskr");
+ os_swprintf(szError, bsiz, _W("%ls: An error occurred in '%ls' subroutine.\n").c_str(), L"daskr", L"ddaskr");
os << szError;
throw ast::InternalError(os.str());
}
if (bCatch)
{
wchar_t szError[bsiz];
- os_swprintf(szError, bsiz, _W("%ls: An error occured in '%ls' subroutine.\n").c_str(), L"dasrt", L"ddasrt");
+ os_swprintf(szError, bsiz, _W("%ls: An error occurred in '%ls' subroutine.\n").c_str(), L"dasrt", L"ddasrt");
os << szError;
throw ast::InternalError(os.str());
}
if (bCatch)
{
wchar_t szError[bsiz];
- os_swprintf(szError, bsiz, _W("%ls: An error occured in '%ls' subroutine.\n").c_str(), L"dassl", L"dassl");
+ os_swprintf(szError, bsiz, _W("%ls: An error occurred in '%ls' subroutine.\n").c_str(), L"dassl", L"dassl");
os << szError;
throw ast::InternalError(os.str());
}
delete pDblOut;
wchar_t szError[bsiz];
- os_swprintf(szError, bsiz, _W("%s: An error occured in '%s' subroutine.\n").c_str(), "feval", "execFevalF");
+ os_swprintf(szError, bsiz, _W("%s: An error occurred in '%s' subroutine.\n").c_str(), "feval", "execFevalF");
os << szError;
throw ast::InternalError(os.str());
}
if (bCatch)
{
wchar_t szError[bsiz];
- os_swprintf(szError, bsiz, _W("%s: An error occured in '%s' subroutine.\n").c_str(), "impl", "lsodi");
+ os_swprintf(szError, bsiz, _W("%s: An error occurred in '%s' subroutine.\n").c_str(), "impl", "lsodi");
os << szError;
throw ast::InternalError(os.str());
}
if (bCatch)
{
wchar_t szError[bsiz];
- os_swprintf(szError, bsiz, _W("%s: An error occured in '%s' subroutine.\n").c_str(), "int2d", "twodq");
+ os_swprintf(szError, bsiz, _W("%s: An error occurred in '%s' subroutine.\n").c_str(), "int2d", "twodq");
os << szError;
throw ast::InternalError(os.str());
}
if (bCatch)
{
wchar_t szError[bsiz];
- os_swprintf(szError, bsiz, _W("%s: An error occured in '%s' subroutine.\n").c_str(), "int3d", "dcutet");
+ os_swprintf(szError, bsiz, _W("%s: An error occurred in '%s' subroutine.\n").c_str(), "int3d", "dcutet");
os << szError;
throw ast::InternalError(os.str());
}
if (bCatch)
{
wchar_t szError[bsiz];
- os_swprintf(szError, bsiz, _W("%ls: An error occured in '%ls' subroutine.\n").c_str(), L"intg", L"dqags");
+ os_swprintf(szError, bsiz, _W("%ls: An error occurred in '%ls' subroutine.\n").c_str(), L"intg", L"dqags");
os << szError;
throw ast::InternalError(os.str());
}
{
wchar_t szError[bsiz];
wchar_t* tmp = to_wide_string(strMeth.c_str());
- os_swprintf(szError, bsiz, _W("%ls: An error occured in '%ls' subroutine.\n").c_str(), L"ode", tmp);
+ os_swprintf(szError, bsiz, _W("%ls: An error occurred in '%ls' subroutine.\n").c_str(), L"ode", tmp);
os << szError;
FREE(tmp);
throw ast::InternalError(os.str());
{
wchar_t szError[bsiz];
wchar_t* tmp = to_wide_string(strMeth.c_str());
- os_swprintf(szError, bsiz, _W("%ls: An error occured in '%ls' subroutine.\n").c_str(), L"ode", tmp);
+ os_swprintf(szError, bsiz, _W("%ls: An error occurred in '%ls' subroutine.\n").c_str(), L"ode", tmp);
os << szError;
FREE(tmp);
throw ast::InternalError(os.str());
}
wchar_t szError[bsiz];
- os_swprintf(szError, bsiz, _W("%s: An error occured in '%s' subroutine.\n").c_str(), "odedc", "tright");
+ os_swprintf(szError, bsiz, _W("%s: An error occurred in '%s' subroutine.\n").c_str(), "odedc", "tright");
os << szError;
throw ast::InternalError(os.str());
}
if (bCatch)
{
wchar_t szError[bsiz];
- os_swprintf(szError, bsiz, _W("%s: An error occured in '%s' subroutine.\n").c_str(), "odedc", strMeth.c_str());
+ os_swprintf(szError, bsiz, _W("%s: An error occurred in '%s' subroutine.\n").c_str(), "odedc", strMeth.c_str());
os << szError;
throw ast::InternalError(os.str());
}
if (bCatch)
{
wchar_t szError[bsiz];
- os_swprintf(szError, bsiz, _W("%s: An error occured in '%s' subroutine.\n").c_str(), "odedc", strMeth.c_str());
+ os_swprintf(szError, bsiz, _W("%s: An error occurred in '%s' subroutine.\n").c_str(), "odedc", strMeth.c_str());
os << szError;
throw ast::InternalError(os.str());
}
}
wchar_t szError[bsiz];
- os_swprintf(szError, bsiz, _W("%s: An error occured in '%s' subroutine.\n").c_str(), "odedc", tright);
+ os_swprintf(szError, bsiz, _W("%s: An error occurred in '%s' subroutine.\n").c_str(), "odedc", tright);
os << szError;
throw ast::InternalError(os.str());
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "g");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "g");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "f");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "f");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "jacobian");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "jacobian");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "pjac");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "pjac");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "psol");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "psol");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "f");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "f");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "g");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "g");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "jacobian");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "jacobian");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "guess");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "guess");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "fsub");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "fsub");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "fsub");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "fsub");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "gsub");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "gsub");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "gsub");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "gsub");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "f");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "f");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "f");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "f");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "f");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "f");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "f");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "f");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "f");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "f");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "jacobian");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "jacobian");
throw ast::InternalError(errorMsg);
}
}
}
else
{
- sprintf(errorMsg, _("User function '%s' have not been setted.\n"), "g");
+ sprintf(errorMsg, _("User function '%s' have not been set.\n"), "g");
throw ast::InternalError(errorMsg);
}
}
t0 = 0;
t = linspace(0, 10, 100);
refMsg = [msprintf(_("%s: Wrong type for output argument #%d: Real matrix expected.\n"), "f", 1);
-msprintf(_("%ls: An error occured in ''%s'' subroutine."), "ode", "lsoda")];
+msprintf(_("%ls: An error occurred in ''%s'' subroutine."), "ode", "lsoda")];
assert_checkerror("y = ode(zeros(1, 1), t0, t, f);", refMsg);
assert_checkerror("y = ode(zeros(1, 2), t0, t, f);", refMsg);
assert_checkerror("y = ode(zeros(1, 3), t0, t, f);", refMsg);
t = linspace(0, 10, 100);
refMsg = [msprintf(_("%s: Wrong type for output argument #%d: Real matrix expected.\n"), "f", 1);
-msprintf(_("%ls: An error occured in ''%s'' subroutine."), "ode", "lsoda")];
+msprintf(_("%ls: An error occurred in ''%s'' subroutine."), "ode", "lsoda")];
assert_checkerror("y = ode(zeros(1, 1), t0, t, f);", refMsg);
assert_checkerror("y = ode(zeros(1, 2), t0, t, f);", refMsg);
assert_checkerror("y = ode(zeros(1, 3), t0, t, f);", refMsg);
endfunction
t=0:0.01:40;
refMsg = [msprintf(_("Invalid index.\n"));
-msprintf(_("%ls: An error occured in ''%s'' subroutine.\n"), "ode", "lsrgk")];
+msprintf(_("%ls: An error occurred in ''%s'' subroutine.\n"), "ode", "lsrgk")];
assert_checkerror("res=ode(""rk"",[x0;y0;v0;teta0;],t0,t,right)", refMsg);
t=0:0.01:40;
refMsg = [msprintf(_("Invalid index.\n"));
-msprintf(_("%ls: An error occured in ''%s'' subroutine.\n"), "ode", "lsrgk")];
+msprintf(_("%ls: An error occurred in ''%s'' subroutine.\n"), "ode", "lsrgk")];
assert_checkerror("res=ode(""rk"",[x0;y0;v0;teta0;],t0,t,right)", refMsg);
deff("y = f(x)", "y = sin(x) ./ x");
// This function is going to be evaluated by intg at the midpoint of the interval [-1; 1], so it will produce a "Division by zero" error.
refMsg = [msprintf(_("Division by zero...\n"));
-msprintf(_("%ls: An error occured in ''%ls'' subroutine."), "intg", "dqags")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine."), "intg", "dqags")];
assert_checkerror("intg(-1, 1, f)", refMsg);
deff("y = g(x)", "y = b");
// In any evaluation point, 'b' is unknown so the function will yield an error.
deff("y = f(x)", "y = sin(x) ./ x");
// This function is going to be evaluated by intg at the midpoint of the interval [-1; 1], so it will produce a "Division by zero" error.
refMsg = [msprintf(_("Division by zero...\n"));
-msprintf(_("%ls: An error occured in ''%ls'' subroutine."), "intg", "dqags")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine."), "intg", "dqags")];
assert_checkerror("intg(-1, 1, f)", refMsg);
deff("y = g(x)", "y = b");
// The evaluation function purposely lacks the output argument 'ires'
deff("ydot = f1(t, y, ydot)", "ydot = y^2 - y*sin(t) + cos(t)")
refMsg = [msprintf(_("%s: Wrong number of output argument(s): %d expected.\n"), "f1", 2);
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dassl", "dassl")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dassl", "dassl")];
assert_checkerror("y = dae(y0, t0, t, f1);", refMsg);
// The evaluation function purposely lacks the input argument 'ydot'
deff("[ydot,ires] = f2(t, y)", "ydot = y^2 - y*sin(t) + cos(t)");
refMsg = [msprintf(_("Wrong number of input arguments."));
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dassl", "dassl")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dassl", "dassl")];
assert_checkerror("y = dae(y0, t0, t, f2);", refMsg);
// ----------------------------------
// Without initial yprime computation
// The evaluation function purposely lacks the output argument 'ires'
refMsg = [msprintf(_("%s: Wrong number of output argument(s): %d expected.\n"), "f1", 2);
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dassl", "dassl")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dassl", "dassl")];
assert_checkerror("y = dae([y0; 0], t0, t, f1);", refMsg);
// The evaluation function purposely lacks the input argument 'ydot'
refMsg = [msprintf(_("Wrong number of input arguments."));
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dassl", "dassl")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dassl", "dassl")];
assert_checkerror("y = dae([y0; 0], t0, t, f2);", refMsg);
// ==================================================================
// DASRT
// With initial yprime computation
// The evaluation function purposely lacks the output argument 'ires'
refMsg = [msprintf(_("%s: Wrong number of output argument(s): %d expected.\n"), "f1", 2);
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
assert_checkerror("[y, r] = dae(""root"", y0, t0, t, f1, 1, g);", refMsg);
// The evaluation function purposely lacks the input argument 'ydot'
refMsg = [msprintf(_("Wrong number of input arguments."));
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
assert_checkerror("[y, r] = dae(""root"", y0, t0, t, f2, 1, g);", refMsg);
// ----------------------------------
// Without initial yprime computation
// The evaluation function purposely lacks the output argument 'ires'
refMsg = [msprintf(_("%s: Wrong number of output argument(s): %d expected.\n"), "f1", 2);
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
assert_checkerror("[y, r] = dae(""root"", [y0; 0], t0, t, f1, 1, g);", refMsg);
// The evaluation function purposely lacks the input argument 'ydot'
refMsg = [msprintf(_("Wrong number of input arguments."));
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
assert_checkerror("[y, r] = dae(""root"", [y0; 0], t0, t, f2, 1, g);", refMsg);
// ==================================================================
// DASKR
// With initial yprime computation
// The evaluation function purposely lacks the output argument 'ires'
refMsg = [msprintf(_("%s: Wrong number of output argument(s): %d expected.\n"), "f1", 2);
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "daskr", "ddaskr")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "daskr", "ddaskr")];
assert_checkerror("[y, r] = dae(""root2"", y0, t0, t, f1, 1, g);", refMsg);
// The evaluation function purposely lacks the input argument 'ydot'
refMsg = [msprintf(_("Wrong number of input arguments."));
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "daskr", "ddaskr")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "daskr", "ddaskr")];
assert_checkerror("[y, r] = dae(""root2"", y0, t0, t, f2, 1, g);", refMsg);
// ----------------------------------
// Without initial yprime computation
// The evaluation function purposely lacks the output argument 'ires'
refMsg = [msprintf(_("%s: Wrong size for output argument #%d: A matrix of size %d expected.\n"), "g", 1, 1);
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "daskr", "ddaskr")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "daskr", "ddaskr")];
assert_checkerror("[y, r] = dae(""root2"", [y0; 0], t0, t, f1, 1, g);", refMsg);
// The evaluation function purposely lacks the input argument 'ydot'
assert_checkerror("[y, r] = dae(""root2"", [y0; 0], t0, t, f2, 1, g);", refMsg);
deff("ydot = f1(t, y, ydot)", "ydot = y^2 - y*sin(t) + cos(t)")
refMsg = [msprintf(_("%s: Wrong number of output argument(s): %d expected.\n"), "f1", 2);
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dassl", "dassl")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dassl", "dassl")];
assert_checkerror("y = dae(y0, t0, t, f1);", refMsg);
deff("[ydot,ires] = f2(t, y)", "ydot = y^2 - y*sin(t) + cos(t)");
refMsg = [msprintf(_("Wrong number of input arguments."));
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dassl", "dassl")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dassl", "dassl")];
assert_checkerror("y = dae(y0, t0, t, f2);", refMsg);
// ----------------------------------
// The evaluation function purposely lacks the output argument 'ires'
refMsg = [msprintf(_("%s: Wrong number of output argument(s): %d expected.\n"), "f1", 2);
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dassl", "dassl")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dassl", "dassl")];
assert_checkerror("y = dae([y0; 0], t0, t, f1);", refMsg);
// The evaluation function purposely lacks the input argument 'ydot'
refMsg = [msprintf(_("Wrong number of input arguments."));
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dassl", "dassl")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dassl", "dassl")];
assert_checkerror("y = dae([y0; 0], t0, t, f2);", refMsg);
// The evaluation function purposely lacks the output argument 'ires'
refMsg = [msprintf(_("%s: Wrong number of output argument(s): %d expected.\n"), "f1", 2);
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
assert_checkerror("[y, r] = dae(""root"", y0, t0, t, f1, 1, g);", refMsg);
// The evaluation function purposely lacks the input argument 'ydot'
refMsg = [msprintf(_("Wrong number of input arguments."));
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
assert_checkerror("[y, r] = dae(""root"", y0, t0, t, f2, 1, g);", refMsg);
// ----------------------------------
// The evaluation function purposely lacks the output argument 'ires'
refMsg = [msprintf(_("%s: Wrong number of output argument(s): %d expected.\n"), "f1", 2);
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
assert_checkerror("[y, r] = dae(""root"", [y0; 0], t0, t, f1, 1, g);", refMsg);
// The evaluation function purposely lacks the input argument 'ydot'
refMsg = [msprintf(_("Wrong number of input arguments."));
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "dasrt", "ddasrt")];
assert_checkerror("[y, r] = dae(""root"", [y0; 0], t0, t, f2, 1, g);", refMsg);
// The evaluation function purposely lacks the output argument 'ires'
refMsg = [msprintf(_("%s: Wrong number of output argument(s): %d expected.\n"), "f1", 2);
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "daskr", "ddaskr")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "daskr", "ddaskr")];
assert_checkerror("[y, r] = dae(""root2"", y0, t0, t, f1, 1, g);", refMsg);
// The evaluation function purposely lacks the input argument 'ydot'
refMsg = [msprintf(_("Wrong number of input arguments."));
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "daskr", "ddaskr")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "daskr", "ddaskr")];
assert_checkerror("[y, r] = dae(""root2"", y0, t0, t, f2, 1, g);", refMsg);
// ----------------------------------
// The evaluation function purposely lacks the output argument 'ires'
refMsg = [msprintf(_("%s: Wrong size for output argument #%d: A matrix of size %d expected.\n"), "g", 1, 1);
-msprintf(_("%ls: An error occured in ''%ls'' subroutine.\n"), "daskr", "ddaskr")];
+msprintf(_("%ls: An error occurred in ''%ls'' subroutine.\n"), "daskr", "ddaskr")];
assert_checkerror("[y, r] = dae(""root2"", [y0; 0], t0, t, f1, 1, g);", refMsg);
// The evaluation function purposely lacks the input argument 'ydot'
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="ilib_include_flag">
<refnamediv>
<refname>ilib_include_flag</refname>
- <refpurpose>Return a formated includes related string to pass to
+ <refpurpose>Return a formatted includes related string to pass to
system compiler
</refpurpose>
</refnamediv>
// * O.S : example on Windows , we cannot open more
// than 80 dlls simultanously with LoadLibrary
// numbers of files already openend
-// scilab minimun 3 LoadLibrary (libscilab.dll,
+// scilab minimum 3 LoadLibrary (libscilab.dll,
// jvm.dll,fftw.dll)
lines(0);
//================================================
endfunction
// Checks the specified JAR build command provokes an error
function checkCompileError(buildJarCmd)
- compileError = msprintf(_('jcompile: An error occured: Cannot compile the code'));
+ compileError = msprintf(_('jcompile: An error occurred: Cannot compile the code'));
execstr(buildJarCmd, 'errcatch');
errMsg = lasterror();
assert_checktrue(errMsg <> []);
// Checks the specified JAR build command provokes an error
function checkCompileError(buildJarCmd)
- compileError = msprintf(_('jcompile: An error occured: Cannot compile the code'));
+ compileError = msprintf(_('jcompile: An error occurred: Cannot compile the code'));
execstr(buildJarCmd, 'errcatch');
errMsg = lasterror();
assert_checktrue(errMsg <> []);
//convert indexes for result
if (piIndex[iOrientation - 1] == 0)
{
- // first element of lead dimension is already setted.
+ // first element of lead dimension is already set.
continue;
}
//convert indexes for result
if (piIndex[iOrientation - 1] == 0)
{
- // first element of lead dimension is already setted.
+ // first element of lead dimension is already set.
continue;
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception &e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
}
freeAllocatedSingleString(jarFilePath);
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
catch (std::exception & e)
{
- Scierror(999, "%s: An error occured: %s", fname, e.what());
+ Scierror(999, "%s: An error occurred: %s", fname, e.what());
return 0;
}
}
}
});
- // Converter to convert a double[] to a Double[] (or an other primitive type)
+ // Converter to convert a double[] to a Double[] (or another primitive type)
registerConverter(new Converter() {
@Override
public Object convert(Object original, Class<?> to) {
}
});
- // Converter to convert a double[] to a ArrayList<Double> (or an other primitive type)
+ // Converter to convert a double[] to a ArrayList<Double> (or another primitive type)
registerConverter(new Converter() {
@Override
public Object convert(Object original, Class<?> to) {
public final class ScilabOperations {
/**
- * Add a string and an other object
+ * Add a string and another object
* @param idA the id of the first object
* @param idB the id of the second object
* @return the id of the concatened Strings
<title>Description</title>
<para>
The <function>fprintfMat</function> function writes a matrix in a
- formated file. Each row of the matrix give a line in the file. If
+ formatted file. Each row of the matrix give a line in the file. If
<varname>text</varname> is given then the elements of
<varname>text</varname> are inserted elementwise at the beginning of the
file one element per line.
<function>fscanfMat</function> supports files encoded as ANSI/ASCII and UTF-8.
</para>
<para>
- To read a CSV formated file, the <link linkend="csvRead">csvRead</link> function is recommended.
+ To read a CSV formatted file, the <link linkend="csvRead">csvRead</link> function is recommended.
</para>
</refsection>
<refsection>
* @param [in] iLineCount the number of lines to read.
* @param [out] pwstLines a wide string array containing the lines
*
- * @return the number of lines read, -1 if an error occured
+ * @return the number of lines read, -1 if an error occurred
**/
FILEIO_IMPEXP int mgetl(int iFileID, int iLineCount, wchar_t ***pwstLines);
// http://bugzilla.scilab.org/show_bug.cgi?id=8257
//
// <-- Short Description -->
-// fscanfMat did not read matrix file not formated by fprintfMat.
+// fscanfMat did not read matrix file not formatted by fprintfMat.
//
ierr = execstr("r = fscanfMat(""SCI/modules/fileio/tests/nonreg_tests/bug_8257.txt"");", "errcatch");
if ierr <> 0 then bugmes();quit;end
// http://bugzilla.scilab.org/show_bug.cgi?id=8257
//
// <-- Short Description -->
-// fscanfMat did not read matrix file not formated by fprintfMat.
+// fscanfMat did not read matrix file not formatted by fprintfMat.
//
ierr = execstr("r = fscanfMat(""SCI/modules/fileio/tests/nonreg_tests/bug_8257.txt"");", "errcatch");
// http://bugzilla.scilab.org/show_bug.cgi?id=8258
//
// <-- Short Description -->
-// fscanfMat did not read matrix file not formated by fprintfMat.
+// fscanfMat did not read matrix file not formatted by fprintfMat.
//
ierr = execstr("r = fscanfMat(""SCI/modules/fileio/tests/nonreg_tests/bug_8258.txt"");", "errcatch");
if ierr <> 0 then bugmes();quit;end
// http://bugzilla.scilab.org/show_bug.cgi?id=8258
//
// <-- Short Description -->
-// fscanfMat did not read matrix file not formated by fprintfMat.
+// fscanfMat did not read matrix file not formatted by fprintfMat.
//
ierr = execstr("r = fscanfMat(""SCI/modules/fileio/tests/nonreg_tests/bug_8258.txt"");", "errcatch");
//
// <-- Short Description -->
//
-// fscanfMat did not read a malformated text with many blanks at the end of file.
+// fscanfMat did not read a malformatted text with many blanks at the end of file.
if execstr("r = fscanfMat(SCI + ""/modules/fileio/tests/nonreg_tests/bug_8837.txt"")", "errcatch") <> 0 then bugmes();quit;end
if size(r, "r") <> 9 then bugmes();quit;end
if size(r, "c") <> 7 then bugmes();quit;end
//
// <-- Short Description -->
//
-// fscanfMat did not read a malformated text with many blanks at the end of file.
+// fscanfMat did not read a malformatted text with many blanks at the end of file.
if execstr("r = fscanfMat(SCI + ""/modules/fileio/tests/nonreg_tests/bug_8837.txt"")", "errcatch") <> 0 then pause, end
if size(r, "r") <> 9 then pause, end
checkContent(filePath, content, 100, "html");
[filePath, content] = getURL("http://httpbin.org/basic-auth/user/passwd", destdir, "user", "passwd");
checkContent(filePath, content, 10, "authenticated");
-// Badly formated URL
+// Badly formatted URL
assert_checkerror("getURL(''http://plop@ae:www.scilab.org:80'');", [], 999);
cd(curdir);
[filePath, content] = getURL("http://httpbin.org/basic-auth/user/passwd", destdir, "user", "passwd");
checkContent(filePath, content, 10, "authenticated");
-// Badly formated URL
+// Badly formatted URL
assert_checkerror("getURL(''http://plop@ae:www.scilab.org:80'');", [], 999);
cd(curdir);
assert_checkequal(e, "plop:ae");
assert_checkequal(f, int32(443)); // port
assert_checkequal(g, "myFragment"); // fragment
-// Badly formated URL
+// Badly formatted URL
assert_checkerror("splitURL(''http://plop@ae:sylvestre.ledru.info:80'');", [], 999);
// No protocol
[proto, server, path, query, username, port, frag] = splitURL("www.scilab.org");
assert_checkequal(f, int32(443)); // port
assert_checkequal(g, "myFragment"); // fragment
-// Badly formated URL
+// Badly formatted URL
assert_checkerror("splitURL(''http://plop@ae:sylvestre.ledru.info:80'');", [], 999);
// No protocol
// Inputs:
// - txt: code to format
// - instr: instruction to evaluate as a possible EOL
- // - bprettyprintformat = %T -> code generated is formated %F -> code generated has same format as original code
+ // - bprettyprintformat = %T -> code generated is formatted %F -> code generated has same format as original code
// - nextinstr: next instruction after instr (format EOL between instructions)
// Outputs:
// - txt: updated txt
// Translate an instruction tlist to Scilab code (called by tree2code)
// Input:
// - I: instruction 'tree'
- // - bprettyprintformat: boolean value, if FALSE (default value), generated code is not formated else it is
+ // - bprettyprintformat: boolean value, if FALSE (default value), generated code is not formatted else it is
// Output:
// - C: Scilab code corresponding to I
// Convert a tree returned by macr2tree() to a macro code
// Input:
// - P: 'program' tlist
- // - bprettyprintformat: boolean value, if FALSE (default value), generated code is not formated else it is
+ // - bprettyprintformat: boolean value, if FALSE (default value), generated code is not formatted else it is
// Output:
// - C: character string matrix (colum vector)
}
// add execstr in list of macro called
- // to manage line displayed when error occured.
+ // to manage line displayed when error occurred.
ConfigVariable::macroFirstLine_begin(1);
ThreadManagement::LockParser();
case Export.UNKNOWN_ERROR :
return Messages.gettext("Unable to create export file, please fill a bug report at http://bugzilla.scilab.org.");
case Export.FILENOTFOUND_ERROR :
- return Messages.gettext("Unable to create export file, the file cannot be created or is locked by an other process.");
+ return Messages.gettext("Unable to create export file, the file cannot be created or is locked by another process.");
default :
return "";
}
}
/**
- * Get tip formated text for the given index
+ * Get tip formatted text for the given index
* @param index the component index
- * @return the formated string
+ * @return the formatted string
*/
private String getComponentFormatedText(int index) {
switch (displayComponents.charAt(index)) {
/**
- * Reports an error that occured while scanning.
+ * Reports an error that occurred while scanning.
*
* In a wellformed scanner (no or only correct usage of
* yypushback(int) and a match-all fallback rule) this method
When the figure <literal>"dockable"</literal> property is <literal>"off"</literal>, setting the <literal>"Visible"</literal> property affects the whole figure including its window decorations.
</para>
<para>
- When the figure <literal>"dockable"</literal> property is <literal>"on"</literal> and the figure is docked with an other one inside the same parent window, this field concerns only the figure children (See dedicated part below). If the figure is not docked with an other one, then the <literal>"Visible"</literal> property behaves as if the figure <literal>"dockable"</literal> property was set to <literal>"off"</literal>.
+ When the figure <literal>"dockable"</literal> property is <literal>"on"</literal> and the figure is docked with another one inside the same parent window, this field concerns only the figure children (See dedicated part below). If the figure is not docked with another one, then the <literal>"Visible"</literal> property behaves as if the figure <literal>"dockable"</literal> property was set to <literal>"off"</literal>.
</para>
</listitem>
</varlistentry>
/*--------------------------------------------------------------------------*/
/**
- * copy an array into an other
+ * copy an array into another
*/
GRAPHICS_IMPEXP void doubleArrayCopy(double dest[], const double src[], int nbElement);
/**
- * copy an int array into an other
+ * copy an int array into another
*/
GRAPHICS_IMPEXP void intArrayCopy(int dest[], const int src[], int nbElement);
/**
- * copy a char * array into an other
+ * copy a char * array into another
*/
GRAPHICS_IMPEXP BOOL stringArrayCopy(char * dest[], char * src[], int nbElement);
#define SAFE_EQUAL2(x,y,acc) (Abs((x) - (y)) / Max(Abs((x) + (y)), EPSILON) < (acc))
#define SAFE_EQUAL(x,y,acc) ((x) == (y)) || (Abs((x) - (y)) < (acc) * Max(Abs((x)), Abs((y))))
-/* test if a value if lesser than an other or just sligthy greater */
+/* test if a value if lesser than another or just sligthy greater */
#define SAFE_LT(x,y,acc) ((x) == (y) || ((x) - (y)) < (acc) * Max(Abs((x)), Abs((y))))
#define SAFE_GT(x,y,acc) ((x) == (y) || ((y) - (x)) < (acc) * Max(Abs((x)), Abs((y))))
/*----------------------------------------------------------------------------*/
#
# File: modules/graphics/src/c/Champ.c, line: 147
#, c-format
-msgid "%s: Could not retrive bounding box.\n"
+msgid "%s: Could not retrieve bounding box.\n"
msgstr ""
#
#
# File: modules/graphics/src/c/DrawObjects.c, line: 88
-msgid "Could not retrive bounds.\n"
+msgid "Could not retrieve bounds.\n"
msgstr ""
#
// All right: go on plotting:
ListArg(xyIndexLineSpec(i,2)) = tmp;
- // if there is an other iteration, we will have error message redefining function.
+ // if there is another iteration, we will have error message redefining function.
// we need to clear here and not before, because user must see the warning if needed.
clear buildFunc;
end
getGraphicObjectProperty(iNewSegsUID, __GO_BOUNDING_BOX__, jni_double_vector, (void **)&boundingBox);
if (!boundingBox)
{
- Scierror(999, _("%s: Could not retrive bounding box.\n"), "champg");
+ Scierror(999, _("%s: Could not retrieve bounding box.\n"), "champg");
return;
}
if (!bounds)
{
- Scierror(999, _("Could not retrive bounds.\n"));
+ Scierror(999, _("Could not retrieve bounds.\n"));
return;
}
// =============================================================================
// <-- TEST WITH GRAPHIC -->
// gca function set the firstPlot flag to false
-// then plot2d merge the data bounds setted and computed.
+// then plot2d merge the data bounds set and computed.
t=linspace(0,%pi,20);
a=gca();a.data_bounds=[t(1) -1.8;t($) 1.8];
dataBounds = a.data_bounds;
// <-- TEST WITH GRAPHIC -->
// gca function set the firstPlot flag to false
-// then plot2d merge the data bounds setted and computed.
+// then plot2d merge the data bounds set and computed.
t=linspace(0,%pi,20);
a=gca();a.data_bounds=[t(1) -1.8;t($) 1.8];
});
// The previous workaround hides the component accessibleHtml
- // and consequently the focus is given to an other component.
+ // and consequently the focus is given to another component.
// So we force the accessibleHtml to keep the focus.
accessibleHtml.setFocusTraversalPolicy(new DefaultFocusTraversalPolicy() {
@Override
/**
* Check if we are on a curve
* @param pos the mouse position
- * @return true if the click occured on a curve
+ * @return true if the click occurred on a curve
*/
private boolean onCurve(Integer[] pos) {
Integer axes = AxesHandler.clickedAxes(getFigure(), pos);
* @param axes The axes that will recieve the label.
* @param text An array of text to set.
* @param axis The axis to set x, y or z.
- * @return The Label that was setted
+ * @return The Label that was set
*/
public static Integer setLabel(Integer axes, String[] text, AxesHandler.axisTo axis) {
private static final String ERROR = Messages.gettext("The tab with uuid %s cannot be restored.\nPlease report a bug with the previous message and in attaching the file %s.");
/*
- Certains components could depend an other Tab and this last one could be created before
+ Certains components could depend on other Tab and this last one could be created before
to be requested by the Tab restorator. So we cache it to be sure to have the same instance.
*/
private Map<String, SwingScilabDockablePanel> cache = new HashMap<String, SwingScilabDockablePanel>();
} else { /* Docking port created by Flexdock itself */
/* Retrieve the ID of the parent window */
Set<Dockable> allDockables = e.getNewDockingPort().getDockables();
- /* Have to find an other dockable than the one we just docked */
+ /* Have to find another dockable than the one we just docked */
Iterator<Dockable> it = allDockables.iterator();
Dockable dock = it.next();
// we create a group which will be used as mount point
h5group(a, "/mnt");
-// Create an other file with a group and a dataset
+// Create another file with a group and a dataset
b = h5open(TMPDIR + "/test1.h5", "w")
h5group(b, "Group_1");
h5write(b, "Group_1/Dataset_1", [1 2;3 4]);
// we create a group which will be used as mount point
h5group(a, "/mnt");
-// Create an other file with a group and a dataset
+// Create another file with a group and a dataset
b = h5open(TMPDIR + "/test1.h5", "w")
h5group(b, "Group_1");
h5write(b, "Group_1/Dataset_1", [1 2;3 4]);
<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=6307">#6307</a>: There were no easy versions of <code>lqr</code>, <code>lqe</code>, and <code>lqg</code></li>
<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=7192">#7192</a>: From <code>S=[]</code>, <code>S($+1,:) = some_row</code> inserted it in row#2 after a parasitic row#1.</li>
<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=7649">#7649</a>: <code>isempty</code> returned <code>%F</code> on <code>struct()</code>, <code>{}</code> or <code>list(,)</code> and was not shortcut</li>
-<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=7696">#7696</a>: The <code>parallel_run</code> help page was poorly formated</li>
+<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=7696">#7696</a>: The <code>parallel_run</code> help page was poorly formatted</li>
<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=7794">#7794</a>: The example in the <code>findABCD</code> help page failed.</li>
<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=7958">#7958</a>: <code>mrfit</code>did not allow a fourth parameter as shown in the help page.</li>
<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=8010">#8010</a>: Permanent variables could be redefined through a syntax like <code>%i(1,1)=1</code></li>
<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=14095">#14095</a>: Scilab crashed when a .fig file was loaded with <code>loadmatfile</code> function.</li>
<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=14096">#14096</a>: Issue with <code>mscanf</code>.</li>
<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=14097">#14097</a>: <code>genlib</code> no more adds a separator at the end of the lib path if it is not given in the directory path.</li>
-<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=14099">#14099</a>: <code>sci2exp</code> macro was fixed to avoid "a+[] Warning". string(polynomials|rationals) had badly formated outputs and was not vectorized</li>
+<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=14099">#14099</a>: <code>sci2exp</code> macro was fixed to avoid "a+[] Warning". string(polynomials|rationals) had badly formatted outputs and was not vectorized</li>
<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=14105">#14105</a>: New block comments <code>/*...*/</code> feature was not documented.</li>
<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=14107">#14107</a>: <code>lstcat</code> of a string and a list did not produce consistent results.</li>
<li><a href="http://bugzilla.scilab.org/show_bug.cgi?id=14109">#14109</a>: <code>lsq</code> crashed Scilab when Scilab version depended on MKL library.</li>
#
# File: modules/helptools/macros/xmltoformat.sci, line: 1214
#, c-format
-msgid "%s: The CHAPTER file is not well formated at line %d\n"
+msgid "%s: The CHAPTER file is not well formatted at line %d\n"
msgstr ""
#
# File: modules/helptools/macros/xmltoformat.sci, line: 1267
# File: modules/helptools/macros/xmltoformat.sci, line: 1280
#, c-format
-msgid "%s: The last_successful_build file is not well formated at line %d\n"
+msgid "%s: The last_successful_build file is not well formatted at line %d\n"
msgstr ""
#
end
// Else Error
- error(msprintf(gettext("%s: The CHAPTER file is not well formated at line %d\n"),"x2f_read_CHAPTER",i));
+ error(msprintf(gettext("%s: The CHAPTER file is not well formatted at line %d\n"),"x2f_read_CHAPTER",i));
end
current_value = part(FILETOPARSE(i),current_field_length+3:length(FILETOPARSE(i)));
if regexp(current_value,"/^[0-9]+$/") == [] then
- error(msprintf(gettext("%s: The last_successful_build file is not well formated at line %d\n"),"x2f_read_lsb",i));
+ error(msprintf(gettext("%s: The last_successful_build file is not well formatted at line %d\n"),"x2f_read_lsb",i));
end
desc_out(current_field) = strtod(current_value);
end
// Else Error
- error(msprintf(gettext("%s: The last_successful_build file is not well formated at line %d\n"),"x2f_read_lsb",i));
+ error(msprintf(gettext("%s: The last_successful_build file is not well formatted at line %d\n"),"x2f_read_lsb",i));
end
//[X,dim]=im_inv(A,B [,tol]) computes (A^-1)(B) i.e vectors whose
// image through A are in range(B).
// The dim first columns de X span (A^-1) (B)
- // tol is a threshold to test if a subspace is included in an other
+ // tol is a threshold to test if a subspace is included in another
// default value tol = 100*%eps;
[lhs,rhs]=argn(0);
#
# File: modules/m2sci/macros/mfile2sci.sci, line: 132
-msgid "Generate formated code:"
+msgid "Generate formatted code:"
msgstr ""
#
global("varslist")
// When lhslist is given, then expression2sci is called from equal2sci
- // else it is called from an other function (clause2sci for example)
+ // else it is called from another function (clause2sci for example)
rhs=argn(2);
// If not given, lhslist is initialized with no name lhs
if rhs==1 then
// Handle cases where varname appear in an expression while it is not known.
// nam may be:
- // - a variable created in an other clause part
+ // - a variable created in another clause part
// - a M-file called without args
// - a variable created by an eval
gettext("Recursive mode:")+" "+rec;
gettext("Only double values used in M-file:")+" "+dble;
gettext("Verbose mode:")+" "+string(verbose_mode);
- gettext("Generate formated code:")+" "+pretty]
+ gettext("Generate formatted code:")+" "+pretty]
m2sci_info(mss,-1);
// Read in the file as text
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...
Recursive mode: OFF
Only double values used in M-file: YES
Verbose mode: 3
- Generate formated code: NO
+ Generate formatted code: NO
M-file reading...
M-file reading: Done
Syntax modification...