NAIUA: OpenROAD SIG
The procedure tablefieldtofile (3K) writes a TableField to a disk file.
The maximum supported length for a varchar-column is varchar(1000).
Note that the return value for "success" is int(1) and "failed" is int(-1), that's because if the procedure fails fatally (array index out of bounds for example) the return will be 0/ER_OK too. You can change it if you'd like.
In most case you'll call it like this...
filename = StringObject;
IF tablefieldToFile ( tab = Field(myTable),
fname = filename ) != 1 THEN
message('Table successfully saved to ' + filename);
Please send comments or corrections About these pages to firstname.lastname@example.org
|The NAIUA Web Site is hosted by planetingres.org|