Change-Id: I68553b2a0e5d4eab94da4d0d160d8dd2a6e595ca
}
else if (in.size() == 1)
{
- wchar_t* line = NULL;
-
if ((in[0]->isBool() == false) || (in[0]->getAs<types::Bool>()->isScalar() == false))
{
Scierror(999, _("%s: Wrong type for input argument #%d: A boolean expected.\n"), "saveconsecutivecommands", 1);
return FALSE;
}
-#ifdef _MSC_VER
- wchar_t* filename = to_wide_string(_stFilename.c_str());
- fOut.open(filename, std::ios::trunc);
- FREE(filename);
-#else
fOut.open(_stFilename.c_str(), std::ios::trunc);
-#endif
if (fOut.is_open() == false)
{
return FALSE;