29 posts
Posted 22 June 2014 - 10:13 PM
Hi all,
I dont know why this isnt working. It isnt working at line 121.
sincerely, Chain
Here is the code:
http://pastebin.com/9aRk85vd
8543 posts
Posted 22 June 2014 - 11:02 PM
"Isn't working" isn't a useful description. Are you getting an error?
29 posts
Posted 22 June 2014 - 11:11 PM
I found the answer, I was trying to compare strings. I changed it to string.find(dx,positive).
"Isn't working" isn't a useful description. Are you getting an error?
I said it isn't working because it was doing exactly that, not working. I said it wasn't working at line 121. I was trying to compare strings. Thanks for responding though! :)/>
Edited on 22 June 2014 - 09:13 PM
8543 posts
Posted 22 June 2014 - 11:18 PM
Comparing strings works just fine.
For reference, it's better to describe what you expect it to do and what it's actually doing so that we have a better place to start than just "isn't working". We can read the code fine, but we can't always tell what you intended when you wrote it, so if something is wrong, it's good to tell us what you think it should be doing and what it actually does.