error "too many captures" please help

Hello,

I get this error “too many captures” on this line:
 

gM.webServiceUserId, mute, volume, gM.roundCount,gM.puntajeTotal,gM.tiempo,gM.facebookLogro,gM.twitterLogro,gM.a,gM.b,gM.c,gM.d,gM.e,gM.f,gM.g,gM.h,gM.i,gM.j,gM.k,gM.l,gM.m,gM.n,gM.o,gM.p,gM.q,gM.r,gM.s,gM.t,gM.u,gM.v,gM.w,gM.x,gM.y,gM.z = string.match(saveData, "(%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+) (%d+)") 

its a total of 34 data on my file.

what I want to do here is assign each line to the variables

example:

on file ( 1,2,3,4,5)

var1=1

var2=2

var3= 3

var4= 4

var5 = 5

I got this error when I added more variables please help me find a solution

the things I wanna do here is to save 34 variables into 1 file(system.DocumentsDirectory), 

when the game shutdowns, and then load them again when the game launch…

it works but with a few variables but when I added more I get that error…

For saving persistent data I would really recommend GGData, it makes it a breeze. 

I would store your values in a table, then run that table through json.encode() to create a string that you can save out.  Then when you need to read it back in, pass the string through json.decode() and it will spit the original table back out to you.

Thanks for the help Rob Miracle 

I did exactly what you said and it work perfectly thanks you so much for the fast response.

Greetings

For saving persistent data I would really recommend GGData, it makes it a breeze. 

I would store your values in a table, then run that table through json.encode() to create a string that you can save out.  Then when you need to read it back in, pass the string through json.decode() and it will spit the original table back out to you.

Thanks for the help Rob Miracle 

I did exactly what you said and it work perfectly thanks you so much for the fast response.

Greetings