NewsArchive
04-03-2019, 09:00 AM
The "Handle Text File Operation (Get Line)" function stopped working in
SetupBuilder 2019.2.
* This does not work (2nd line returns an empty value):
Set Variable %LINE_NO% to FUNCTION:Find Line "Time Stamp" from "%FILE%"
Set Variable %LINE% to FUNCTION:Get Line "%LINE_NO%" from "%FILE%"
* Workaround: add a "dummy" Get Line (0):
Set Variable %LINE_NO% to FUNCTION:Find Line "Time Stamp" from "%FILE%"
Set Variable %DUMMY% to FUNCTION:Get Line "0" from "%FILE%"
Set Variable %LINE% to FUNCTION:Get Line "%LINE_NO%" from "%FILE"
This will be fixed in the next build.
Friedrich
SetupBuilder 2019.2.
* This does not work (2nd line returns an empty value):
Set Variable %LINE_NO% to FUNCTION:Find Line "Time Stamp" from "%FILE%"
Set Variable %LINE% to FUNCTION:Get Line "%LINE_NO%" from "%FILE%"
* Workaround: add a "dummy" Get Line (0):
Set Variable %LINE_NO% to FUNCTION:Find Line "Time Stamp" from "%FILE%"
Set Variable %DUMMY% to FUNCTION:Get Line "0" from "%FILE%"
Set Variable %LINE% to FUNCTION:Get Line "%LINE_NO%" from "%FILE"
This will be fixed in the next build.
Friedrich