added: "str" "strnc" ezc functions
changed: ezc functions: "winix_false" to "false" "winix_true" to "true" git-svn-id: svn://ttmath.org/publicrep/winix/trunk@730 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -209,15 +209,47 @@ void winix_show_content_in_full_window(Info & i)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// the ezc function name is "false"
|
||||
// ezc_functions.Insert("false", winix_false);
|
||||
void winix_false(Info & i)
|
||||
{
|
||||
i.res = false;
|
||||
}
|
||||
|
||||
|
||||
// the ezc function name is "true"
|
||||
// ezc_functions.Insert("true", winix_true);
|
||||
void winix_true(Info & i)
|
||||
{
|
||||
i.res = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// these functions are to be used with [is...] statements
|
||||
void str(Info & i)
|
||||
{
|
||||
for(size_t a=0 ; a<i.params.size() ; ++a)
|
||||
i.out << i.params[a];
|
||||
}
|
||||
|
||||
void strnc(Info & i)
|
||||
{
|
||||
for(size_t a=0 ; a<i.params.size() ; ++a)
|
||||
i.out << i.params[a];
|
||||
|
||||
i.case_sensitive = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
} // namespace
|
||||
|
Reference in New Issue
Block a user