close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 19 years ago

Closed 18 years ago

#416 closed defect (invalid)

Error with IncludeBST

Reported by: giken019 Owned by: danirus
Priority: normal Milestone:
Component: Various Version: head
Severity: normal Keywords:
Cc:

Description

I created a .bst table by File -> New -> Table. I entered numbers and headers to
create a 4x4 table (3 rows + headers, 4 columns).

Then I tried to open it using (with the inspector) :

Set Table = IncludeBST(Text "C:test.bst");

It doesn't work, and at the 2nd time TOL closes itself.

here is the contents of the .bst file :

Month ; Year ; Day ; Hour ;
12 ; 1997 ; 21 ; 7 ;
2 ; 1998 ; 22 ; 8 ;
6 ; 1999 ; 23 ; 6 ;

Change History (2)

comment:1 Changed 19 years ago by danirus

The IncludeBST function description shows an example about how we should fill
the BST file. We must declare a Struct before execute IncludeBST. And its name
must be provided as the first row/column content of the BST file. I mean:

Struct setOfTime { Real Month, Real Year, Real Day, Real Hour };
Set Table = IncludeBST("/path/to/your/test.bst");

Being test.bst:
setOfTime ; Month ; Year ; Day ; Hour ;

; 12 ; 1997 ; 21 ; 7 ;
; 2 ; 1998 ; 22 ; 8 ;
; 6 ; 1999 ; 23 ; 6 ;

That's what I think based on the IncludeBST description, am I missing anything?
Cheers.

comment:2 Changed 18 years ago by Víctor de Buen Remiro

Resolution: invalid
Status: newclosed

Nobody is asking about this, so the bug pass to INVALID status.

Note: See TracTickets for help on using tickets.