@ptt-bds Bác có 10 luồng thì đầu tiên nếu không có gì xảy ra nó sẽ lấy 10 dòng đầu tiên, sau đó thì cứ luồng nào "ra đi" nó sẽ lấy dòng tiếp theo, đâu có theo quy luật như 1,11,21,31 vs luồng 1 như bác nói đâu.
randomly get a line from txt file, and foreach it doesn't duplicate
-
This post is deleted!
-
@dinhbao1414 said in randomly get a line from txt file, and foreach it doesn't duplicate:
randomly get a line from txt file, and foreach it doesn't duplicate
i need helpUse a resource with the "LinesFromFile" type with the "Mix Lines" option

-
But it's only used once, I want to use it many times
-
@dinhbao1414 said in randomly get a line from txt file, and foreach it doesn't duplicate:
But it's only used once, I want to use it many times
Increase the number of successful uses or use the "Read File To List" and "Random Element" action
-
@Fox said in randomly get a line from txt file, and foreach it doesn't duplicate:
Random Element
Random Element, using it causes duplicate data
-
@dinhbao1414 said in randomly get a line from txt file, and foreach it doesn't duplicate:
@Fox said in randomly get a line from txt file, and foreach it doesn't duplicate:
Random Element
Random Element, using it causes duplicate data
Delete the data after receiving it from the list, and as soon as the data runs out, read the file again.