Code: Select all
FileRead, data_base, C:\Users\ADMIN\Desktop\data file.txt
for key, value in a:=StrSplit(data_base, "`n")
if (value = 4000)
MsgBox % value
you can find data file.txt here- it should show 4000 in msgbox as there is value 4000 in the data file.txt, but when i run these codes it shows nothing. Please tell me why it is happening? what could be the possible reason for this? Please help...