i dont know how to get this …
i put a value in a text file
now i want to get this value from another file
myfile = File.open(‘extrainfo.txt’)
cuid = myfile.readline
but i need to add + 1 with this cuid
i tryed couple of ways… but no luck
cuid = cuid +1
but it through the bellow error
`+’: can’t convert Fixnum into String (TypeError)
how will i increase the value … ??
Please help me with this.