Import as rect[strings]

For questions and discussion related to reading in and working with data.
Calle
Posts: 3
Joined: Tue Oct 08, 2019 6:01 am

Import as rect[strings]

Unread post by Calle »

Hi,
I want to import a file as an array of strings. The file is a text file and looks like this
2019:09:16 0.89971126
2019:09:17 1.35526464
2019:09:19 1.61615185
2019:09:22 3.49013209
2019:09:23 0.73792783

I’ve tried this code

dec rect[strings] test(5,2)
open data "file.txt"
read(unit=data) test
close data

Thanks,
Carl
Post Reply