﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
371	export of data of a set-table	imendez	Víctor de Buen Remiro	"Hi,

I propose an improvement of the export function BSTFile, including a couple of
new (optional) arguments indicating the rows and columns separator characters.

For example, this code:

Set BSTFile([[ [[1,2]], [[3,4,5]] ]], ""c:/kk1.bst"");
Set BSTFile([[NumOrdSt(1,2,3,4), NumOrdSt(5,6,7,8) ]], ""c:/kk2.bst"");

write in a file two SetOfSet of numbers, the first without structure and with
different number of elements in its rows:
Ex#1:
1.0000000000;2.0000000000;
3.0000000000;4.0000000000;5.0000000000;
Ex#2:
NumOrdSt;Mult_1;Mult_2;Mult_3;Mult_4;
;1.0000000000;2.0000000000;3.0000000000;4.0000000000;
;5.0000000000;6.0000000000;7.0000000000;8.0000000000;

What I propose is adding two new arguments:

Set BSTFile(Set s, Text file [, Text colSeparator = "";"", Text rowSeparator = ""\n""])

Above examples would be written as:
Set BSTFile([[ [[1,2]], [[3,4,5]] ]], ""c:/kk1.bst"", ""|"", ""@"");
Set BSTFile([[NumOrdSt(1,2,3,4), NumOrdSt(5,6,7,8) ]], ""c:/kk2.bst"", ""|"", ""@"");

and the new result would be:
Ex#1:
1.0000000000|2.0000000000|@3.0000000000|4.0000000000|5.0000000000|
Ex#2:
NumOrdSt|Mult_1;Mult_2|Mult_3|Mult_4|@;1.0000000000|2.0000000000|3.0000000000;4.0000000000|@;5.0000000000|6.0000000000|7.0000000000;8.0000000000|

Regards."	enhancement	closed	normal		SetAlgebra	head	minor	fixed		pmguillem
