Title: [Lua] [Error] For limit must be a number?
I've been having problems with my Prime Number program. The code is in http://pastebin.com/75kYHgMQ
Whenever it finishes the inputs, an error pops up: "prime:23: "for" limit must be a number." What will I do?
[Lua] [Error] For limit must be a number?
Started by MCuniverse, Apr 22 2013 01:25 AM
4 replies to this topic
#1
Posted 22 April 2013 - 01:25 AM
#2
Posted 22 April 2013 - 07:59 AM
#3
Posted 22 April 2013 - 08:54 AM
Line 23 calls for the value of variable "Num", which does not exist. Lua is case-sensitive: "Num" and "num" are two different things.
#4
Posted 22 April 2013 - 04:52 PM
SadKingBilly, on 22 April 2013 - 08:54 AM, said:
Line 23 calls for the value of variable "Num", which does not exist. Lua is case-sensitive: "Num" and "num" are two different things.
#5
Posted 23 April 2013 - 01:24 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











