Hello. I'm trying to create a mining program, but I keep getting this error message. Here is my program:
http://pastebin.com/3ZX0DA4X
I don't have any clue what could be going wrong here, considering I'm using correct math operators in the equation. Perhaps it's something else in the if statement or in the function that's affecting it... I don't know. I'm fairly new to programming. If anyone can help, I'd be grateful.
bios:366: [string "mine"]:76: unexpected symbol
Started by RaiuPlays, Jan 21 2015 10:05 AM
2 replies to this topic
#1
Posted 21 January 2015 - 10:05 AM
#2
Posted 21 January 2015 - 03:37 PM
return is an occupied keyword for returning values of functions. Using another variable name would certainly do the job
Edited by wieselkatze, 21 January 2015 - 03:37 PM.
#3
Posted 23 January 2015 - 12:28 PM
That's a good point. I didn't think about that. Thank you!
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users











