Hi GDL experts,
I am working with a simple txt. file to figure out how it can work. I have the code working that can search the first column of the text file and return a code based on the column number as below:
ch=OPEN("data",”Simple.txt”,"MODE=RO, DIALOG")
searchfield="A01"
nr=INPUT(ch,searchfield,1,sheetname, sheetscale)
text2 1,0,sheetname
CLOSE ch
The output is text, in this case, 'Ground Floor'. If I enter numerical values into the txt. file in a third column, the output result seems to be still recognized by the GDL script as a text value.
My goal is to use the output result above to drive parameters such as the length of an object based on the row selected.
Question:
Is there a way to ask for a result, from a *txt file, that is in numerical format, so I can then use the result to change a parameter?
Thank you so much!