matching 2 variables in repeat loop
Posted: Sat Jul 12, 2014 4:02 pm
In previous version of livecode up to 6.6.1 the following code used to work in my project but now that I updated to 6.6.2 it does not.
The value of tFiles is a directory listing of the programs storage directory that I use and if it contains the livecode program stack then I do not want to download it again from the website and run the currently downloaded file.
In version 6.6.2, I get an error on the contains line that reads:
stack "TruckersWalletSplashScreen": compilation error at line 185 {Expression: unquoted literal), char 27
Line 185 is the line that has if L contains
This has been a great learning assignment for me but hope one day I can get this application released soon.
Code: Select all
repeat for each line L in tFiles
if L contains gMainProgramArchiveName then
put true into tMainAppDownload
end if
end repeat
In version 6.6.2, I get an error on the contains line that reads:
stack "TruckersWalletSplashScreen": compilation error at line 185 {Expression: unquoted literal), char 27
Line 185 is the line that has if L contains
This has been a great learning assignment for me but hope one day I can get this application released soon.