2017-11-23 12:12 PM
DIM sarray[]
! file in the library, containing parameter data
filename = "ProjectNotes.txt"
ch1 = OPEN ("text", filename, "MODE=RO, LIBRARY")
i = 1
j = 1
sarray[1] = ""
! collect all strings
DO
n = INPUT (ch1, i, 1, var)
IF n > 0 AND VARTYPE (var) = 2 THEN
sarray = var
j = j + 1
ENDIF
i = i + 1
WHILE n > 0
CLOSE ch1
! parameter popup with strings read from the file
VALUES "RefNote" sarray 2017-11-23 12:55 PM
2017-11-23 01:25 PM
Erwin wrote:I've read through and tried these, still no idea. Still not working.
Think this it what OPEN, INPUT, OUTPUT etc are used for.
There should be information about this in the GDL Reference Guide that you can find from the Help menu.
Should probably work with tab delimited text files.