Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

.csv file to apl numeric matrix
yahoo and google financial web sites have historical stock data
bases
downloadable to excel and apple's new numbers spreadsheet.
we've used fn delta fv to convert .csv comma delimited file to apl
numeric matrix - r rows x hi, lo, close columns.          since
stock
prices can be 4, 5 or 6 digits including period (how about buffet's
hathaway 9 digit?) conversion involves varying column widths.
is
there any other way?      thanks.    don mattern

Report this thread to moderator Post Follow-up to this message
Old Post
don@inetpurchasing.com
03-17-08 12:06 AM


Re: .csv file to apl numeric matrix
If the CSV file has no more than 65,536 rows AND the initial 25 rows
contain representative data then I'd do it this way:

1. use ADO & the Microsoft Jet 4.0 provider to read the source
2. fix the APL variable using the GetRows method of the ADO Recordset.


Report this thread to moderator Post Follow-up to this message
Old Post
AAsk
03-17-08 12:06 AM


Re: .csv file to apl numeric matrix
Don,

This is such a common requirement that APLX now includes system
functions to import data in CSV and other popular formats - take a
look at =E2=8E=95IMPORT and =E2=8E=95EXPORT in APLX version 4 ([url]http://www.mi=[/url
]
croapl.com/
apl/APLXLangRef.pdf).

Richard Nabavi
MicroAPL


On 16 Mar, 18:53, "d...@inetpurchasing.com" <d...@inetpurchasing.com>
wrote:
>     yahoo and google financial web sites have historical stock data
> bases
> downloadable to excel and apple's new numbers spreadsheet.
> we've used fn delta fv to convert .csv comma delimited file to apl
> numeric matrix - r rows x hi, lo, close columns.          since
> stock
> prices can be 4, 5 or 6 digits including period (how about buffet's
> hathaway 9 digit?) conversion involves varying column widths.
> is
> there any other way?      thanks.    don mattern


Report this thread to moderator Post Follow-up to this message
Old Post
microapl@microapl.demon.co.uk
03-17-08 01:01 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

APL archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 12:05 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.