Fellas,
I have a database with columns named line1, line2, line3, line4, line5, line6.
I have a
x = rand(6)+1
to get the random value. Now I want the “line”+x somehow like this:
y = @variable."line"+x.to_s
And get back the data in lineX.
Whats the correct formula? TX!
Just use
sendmethod ofObject: