(imported topic written by MarlonRojas)
Dear All:
We are trying to complete a computer properties that read a value from a text file, this file has 2 ocurrence of the same string but we only need the vlue for the first one.
Example of the file
Apps
NumberOfApps=2
App1
AppName=Finesse 2000
NumberNewVersion=20.5
NumberNewPacht=0
NumberUpdate=0
DescNewVersion=Altair Pasivos Producci¾n
App2
AppName=Mantenimiento de Base de Datos
NumberNewVersion=0
DateNewVersion=01/07/2007
Backup=0
Example of relevance
if (exists file “c:/NavNT/Version/Version.ini”) then (following texts of first “NumberNewVersion=” of (lines of file “c:/NavNT/Version/Version.ini”) as string)else “N/A”
20.5
Error: Singular expression refers to non-unique object.
How can we we just the first one?
Thanks!