Search found 3 matches

by Calle
Wed Jan 29, 2020 7:23 am
Forum: Data: Reading, Writing, Transforming
Topic: Entry number from string/label
Replies: 0
Views: 5893

Entry number from string/label

Hi, Datelabel gives date label/string from an entry number. How can I go the other way around and create an entry number from a string. For example: cal(d) 2020:01:29 display datelabel(1) *displays 2020:01:29 com dateString = "2020:01:29" display someFunction(dateString) * should display 1...
by Calle
Fri Oct 25, 2019 10:29 am
Forum: Graphics, Reports, and Other Output
Topic: Pass string with filename to gsave
Replies: 1
Views: 6600

Pass string with filename to gsave

Hi,

How can I pass a string containing the name of the file to environment?

com the_file = "C:\folder\myfile.eps"
environment gsave=the_file

Thanks,
Carl
by Calle
Wed Oct 09, 2019 2:23 pm
Forum: Data: Reading, Writing, Transforming
Topic: Import as rect[strings]
Replies: 0
Views: 5888

Import as rect[strings]

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...