#576 closed defect (fixed)
BDBOpen can not be used without a Structure Name of field register
Reported by: | César Pérez Álvarez | Owned by: | Víctor de Buen Remiro |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | SetAlgebra | Version: | 1.1.6 |
Severity: | major | Keywords: | |
Cc: |
Description
Hi,
when i try to use BDBOpen with a plain text file without a stucture like this
test.txt
Campo 1;Campo 1;Campo 1;Campo 1
2;4;;t
2;e;r;
3;;f;e
Campo3;Campo3;Campo3;
Tol makes this error
ERROR: [1] [Stack Manager FATAL]
Cannot push unnamed structures.
when I can read file with this
Text pathCSV = "test.txt";
Set dataCSV = BDBOpen(pathCSV, 0, ";", "", "");
Real regNum = dataCSV->RegNumber;
Set tabla = For(1, regNum, Set(Real k){ BDBReg(dataCSV, regNum) });
The description of the function says that if we do not want to use a Struct we can pass the "" string.
Change History (5)
comment:1 Changed 17 years ago by
Summary: | BDBOpen can not use without a Field Structure → BDBOpen can not be used without a Field Structure |
---|
comment:2 Changed 17 years ago by
Summary: | BDBOpen can not be used without a Field Structure → BDBOpen can not be used without a Structure Name of field register |
---|
comment:3 Changed 17 years ago by
Owner: | changed from danirus to Víctor de Buen Remiro |
---|
comment:4 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Problem has been solved
Thanks for reporting and sorry for delay
Please modify summmary with this "BDBOpen can not be used without a Structure Name of field register"