--- In [email protected], inv learn <[EMAIL PROTECTED]> wrote:

> when i import quotes manually, the quotes appear inside just fine ;
but with the import script it does not. import.log has only one line "
Logging started for 'data\datacol.csv' file, using format definition
file 'Formats\new1.format' " . 

Your script seems fine -- I ran it using my own .csv and format file.

Double check that your format file is the right folder.  Verify that
the file "C:\Program Files\AmiBroker\Formats\new1.format" exists 
(with a typical install location).  If it does not exist in that
location, then the import will not succeed but a 0 will still be
returned.  If the source data file (e.g. *.csv) does not exist then
the import also will not succeed (obviously) and the Import() method
will return 4.  To see the return status change your script to:

WScript.Echo(AmiBroker.Import( 0, filename, "new1.format" ));


Tuzo


Reply via email to