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).
Im trying to pick a line with smallest number from list.
Like that: Math.min([[NEW_LIST]])
List contains 3 integers but it returns null instead.
How can you do that?
@yourfriendkarol
[[MIN]] = Math.min.apply(null, [[NEW_LIST]]);
||
[[MAX]] = Math.max.apply(null, [[NEW_LIST]]);
@Fox Thanks! will try immediately
Oh, ok, got it. I thought that this also meant that there were issues getting data in the script... Thanks for your reply!
@UserTrue Thank you for your advice. Yes, at first I tried the built in mongodb with it's module. It made me quite fast switch over to MySQL and the appropriate node.js module ;)
@bomden11 said in How re-start list .txt when turn-off Reuse:
When A - 4 (true) - 1 , i want the software next to B , and start Resource #2 from value 1 . But it not, it will continue from 5 and 6 ..
Resource system is not designed to work like this, you need to use lists and global variables.