Help comparison tables
I have this code:
Lua Code:
Thanks for help! |
I can't get a positive code, somebody have an idea?
|
Not sure if it is me but I have no clue what you really want to do. Could you explain better, I guess this is the reason you got no answers yet.
|
I'm not 100% sure either.
My best guess would be that he wants to sort the values in Table B, by whether or not the value in [NAME] in Table B exists in [NAME] in Table A. |
Sry for my bad english.
My code prints sort table b by values, now i need sort same but if name exists in table a, table a dont have numeric values (have true or false). |
Code:
local tableC = {} |
Quote:
I trying with ur code and cant be good. :( Lua Code:
|
Sorry for my english. I go to explain in code text, i hope that now you understand me:
Lua Code:
Thanks for help !!!!!!!! |
Quote:
I don't understand how did you derive your code from example of Banknorris. Why Code:
tableC[#tableC + 1] = k end You'll probably want to use your specialized sorting instead of table.sort. Do you use notepad for writing, or some dedicated script editor (semi-random indentation doesn't help)? |
Quote:
|
Need it only to close my addon, some suggestion? THANKS!
|
I have no idea what you're trying to do
|
Lua Code:
|
Ohhhhhhhhh excelent work :D :D
Thanks u so much Banknorris :) :) :) :) :) |
Reading from my saved variables not limit to total names compared and repeat names... if find 4 names do:
numbers1 names1 numbers2 names2 numbers3 names3 numbers4 names4 numbers1 names1 numbers2 names2 numbers3 names3 numbers4 names4 ...the result is fine but very repeat. And I cant do: Lua Code:
Thanks u all one more time :o |
In provided code I don't see the reason for repeated printing.
You can add a variable to count how many times you have printed and with the help of it exit the loops. P.S. I am crying. |
Ok, I was doing bad. Now not do loop...
Lua Code:
|
[solved]
Well, now is done!
Lua Code:
Thanks Banknorris for help me. |
what is this outer for loop good for?
|
pas06, both for loops are strange.
Mortimerlol, make Paco, Anabel and Francisco have the same number of kills, and test what happens. |
All times are GMT -6. The time now is 06:00 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI