#332 closed enhancement (fixed)
solving some problem with BinGroup
Reported by: | imendez | Owned by: | danirus |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Kernel | Version: | head |
Severity: | minor | Keywords: | |
Cc: | Alfredo Torre |
Description
Hi.
This code returns an error:
Set Cjto = "a", "b", "c" ?;
Set CjtoConTextoError = SetOfAnything(BinGroup("<<", Cjto));
ERROR: Algún elemento para la funcion BinGroup no es un objeto de tipo Anything
because "Cjto" elements are texts and BinGroup tries to return "Anything" type
objects. When BinGroup compares "Anything" and "Text" type objects, it returns
FALSE.
Regards.
Change History (3)
comment:1 Changed 19 years ago by
comment:2 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
This is a suberror of the previous 331.
I resolved these problems with BinGroup and Group, since they're easy to find
and fix, bot for fix the previous I have to lay a plot...
Cheers,
Daniel
comment:3 Changed 18 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000331 |
---|---|
dependson: | → 331 |
Of course, Group function has the same problem:
Set CjtoConTextoError = SetOfAnything(Group("<<", Cjto));
And, if SetOfAnything is substituted by SetOfText, the code wroks perfectly:
Set CjtoConTextoError2 = SetOfText(BinGroup("<<", Cjto));