Hello
I need help
I have a List1 and List2
I need read all lines and remove lines of list2 contained in list 1
I make a code, but I received a correct output, but actually that’s not what happens when you save the final list.
Here is my code
BLOCK:FileReadLines
LABEL:LISTA TO REMOVE EXIST
path = "teste.txt"
=> VAR @Listaremove
ENDBLOCK
BLOCK:FileReadLines
LABEL:Lista Final
path = "teste2.txt"
=> VAR @ListaFinal
ENDBLOCK
BLOCK:RemoveAllFromList
list = @Listaremove
comparison = Exists
term = @ListaFinal
ENDBLOCK
BLOCK:FileAppendLines
path = "result.txt"
lines = @Listaremove
ENDBLOCK
on the console, everything works fine, but in practice it doesn’t.
My List teste1.txt contains
joao
silva
larence
kraken
squid
and My List teste2.txt contains
joao
silva
larence
kraken
squid
mjhsui
diferent
Thank you, wait a reply and help!