Hi, I was making a calculator, and I came along some errors, all of the "operator functions" are nil, although they have information in them! I tried respelling all of them, but to no avail. Help!
The code can be found here.
Thanks for any help.
Help With Calculator?
Started by Agoldfish, Jan 17 2014 01:54 PM
3 replies to this topic
#1
Posted 17 January 2014 - 01:54 PM
#2
Posted 17 January 2014 - 03:05 PM
I think the issue here is you are calling on those functions before they are defined, so it gets a nil. This guy explains it better than I can
Spoiler
Edited by Lyqyd, 17 January 2014 - 03:26 PM.
#3
Posted 17 January 2014 - 03:27 PM
Yes, you need to declare your local functions before the code that should call them.
#4
Posted 17 January 2014 - 04:16 PM
Lyqyd, on 17 January 2014 - 03:27 PM, said:
Yes, you need to declare your local functions before the code that should call them.
OReezy, on 17 January 2014 - 03:05 PM, said:
I think the issue here is you are calling on those functions before they are defined, so it gets a nil. This guy explains it better than I can
Spoiler
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users











