of     1   

Origin_Sea
#141235647Wednesday, July 23, 2014 3:27 AM GMT

Lets say that Ord is already defined and Fourth is already defined. Then, we have tableOfIntValues with 3 IntValues saved in it, with a possibility of having 4 IntValues saved in it. Would this work? ord.Fourth.Value = tableOfIntValues[4].Parent.Name or "nil"
128GB
#141236051Wednesday, July 23, 2014 3:31 AM GMT

ord.Fourth.Value = (tableOfIntValues[4] == nil and "nil" or tableOfIntValues[4].Parent.Name) x = (1 < 2 and "hi" or "bye") print(x) -->hi Its like x = condition and option1 or option2 If condition is true it goes with option1, if condition is false it goes with option 2
Origin_Sea
#141237840Wednesday, July 23, 2014 3:49 AM GMT

Doesn't appear to be working....
Origin_Sea
#141237959Wednesday, July 23, 2014 3:50 AM GMT

No error messages, but when I check the "First" value, it doesn't say anything...
128GB
#141238129Wednesday, July 23, 2014 3:52 AM GMT

No error messages, but when I check the "First" value, it doesn't say anything... What
Origin_Sea
#141238176Wednesday, July 23, 2014 3:52 AM GMT

Its a string value and its Value property reads " "
128GB
#141238483Wednesday, July 23, 2014 3:55 AM GMT

Well I just tested it and it worked fine
Origin_Sea
#141238791Wednesday, July 23, 2014 3:58 AM GMT

Perhaps I tested it wrong...? or does it work if I put the table in a function inside a function, then called the table outside both functions?
Origin_Sea
#141239056Wednesday, July 23, 2014 4:00 AM GMT

nvm found a tiny little typo in the beginning of my 300 line script :/ ill see if fixing it made it work.
Origin_Sea
#141239240Wednesday, July 23, 2014 4:02 AM GMT

nvm that generated another error. Oh well, ill find the problem soon...
Origin_Sea
#141240163Wednesday, July 23, 2014 4:11 AM GMT

Oh yeah, what would it do if the values are equal?
128GB
#141240965Wednesday, July 23, 2014 4:20 AM GMT

What do you mean?
Origin_Sea
#141299340Wednesday, July 23, 2014 7:31 PM GMT

like this: a.Value = 5 b.Value = 5
Origin_Sea
#141299424Wednesday, July 23, 2014 7:32 PM GMT

I found a temporary solution, but I was wondering if there was another way. (I changed > to >=)
Origin_Sea
#141324018Wednesday, July 23, 2014 11:52 PM GMT

Values still aren't working. Maybe if i did tostring()...?

    of     1