Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hello, how would you go about choosing a random element from a resource? (E.g. Setting with set variable action)
@HELP_ME or
[[RES]] = RMap("toster").random(1)
api to work with resources
yes thankyou
I can't get the if conditions to work properly
Immagine 2024-10-27 181112.png
@Fox said in Bug Report: Remove current element from resource:
@SKRN said in Bug Report: Remove current element from resource: @Fox said in Bug Report: Remove current element from resource: @SKRN said in Bug Report: Remove current element from resource: While using "Call function in multi-threads" and put remove current element from resource inside the function, it will remove all resource element that has been already used in the function and not only the current element in thread. Attach a test script that demonstrates the error. Script: Bug Report.xml Resource: List of numbers.txt You have not set the "write file" option in the resource property. a91a9826-5301-4114-a2ea-28089347d995-изображение.png I described this behavior of BAS in more detail in this topic: https://community.bablosoft.com/topic/7811/странно-работает-удалить-текущий-элемент/6
@SKRN said in Bug Report: Remove current element from resource:
@Fox said in Bug Report: Remove current element from resource: @SKRN said in Bug Report: Remove current element from resource: While using "Call function in multi-threads" and put remove current element from resource inside the function, it will remove all resource element that has been already used in the function and not only the current element in thread. Attach a test script that demonstrates the error. Script: Bug Report.xml Resource: List of numbers.txt
@SKRN said in Bug Report: Remove current element from resource: While using "Call function in multi-threads" and put remove current element from resource inside the function, it will remove all resource element that has been already used in the function and not only the current element in thread. Attach a test script that demonstrates the error.
While using "Call function in multi-threads" and put remove current element from resource inside the function, it will remove all resource element that has been already used in the function and not only the current element in thread.
Attach a test script that demonstrates the error.
Script: Bug Report.xml
Resource: List of numbers.txt
You have not set the "write file" option in the resource property.
a91a9826-5301-4114-a2ea-28089347d995-изображение.png
I described this behavior of BAS in more detail in this topic: https://community.bablosoft.com/topic/7811/странно-работает-удалить-текущий-элемент/6
Now I understand, thanks for explaining.
@morpheus93 give me exemple in pic/xml file plez
There's one of 2 ways;