Posted 18 June 2013 - 03:27 AM
My question:
I made a program which uses arguments to run
If i run it like: program do setPos 1 1
Everything is a string but how do i convert those 1's back to numbers no matter where it is in the table?
for i,v in ipairs(tArgs) do
A = type(tArgs)
end
( type(tArgs) returns string )
I made a program which uses arguments to run
If i run it like: program do setPos 1 1
Everything is a string but how do i convert those 1's back to numbers no matter where it is in the table?
for i,v in ipairs(tArgs) do
A = type(tArgs)
end
( type(tArgs) returns string )