#326 closed enhancement (fixed)
enhancement for BinGroup function
Reported by: | imendez | Owned by: | danirus |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Kernel | Version: | head |
Severity: | minor | Keywords: | |
Cc: |
Description
Hi,
BinGroup function fails when its second argument is empty:
Set NoElementsSet = Copy(Empty);
Set OneElementSet = "hi" ?;
Set TwoElementsSet = "hi", " guy" ?;
Text NoElementsText = BinGroup("<<", NoElementsSet);
Text OneElementText = BinGroup("<<", OneElementSet);
Text TwoElementsText = BinGroup("<<", TwoElementsSet);
Warning: La función BinGroup ha fallado en :
BinGroup("<<", NoElementsSet)
ERROR: NoElementsText no se pudo crear.
I think it would be better if it doesn't fail when the Set argument is empty,
like EvalSet function.
Regards.
Change History (4)
comment:1 Changed 19 years ago by
comment:2 Changed 19 years ago by
You are right, Dani, I think it must return the Unknown whatever-Type object,
and maybe a warning message, but not an error.
Thanks.
Regards.
comment:3 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
This enhancement is now in the CVS.
Probably tomorrow will be in the Nightly Built Release.
Ivan, after tried it please confirm me here that it works as you expected.
Cheers,
Daniel
comment:4 Changed 18 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000326 |
---|
Hi Ivan,
And what do you suggest?
What has to do BinGroup when the given Set is empty?
-To return an empty object, or the Unknown whatever-Type object...
Cheers,
Daniel