audio.play with a string format or a value?

How I can play an audio file with a string format? (if that is how you say it)

I load my audio like this

local count000 = audio.loadSound("en\_audio/000.mp3") local count001 = audio.loadSound("en\_audio/001.mp3") 

  and so on…

all local audio names from count000 - count100 (so I have 100 audio files, very small mp3)

when a button is selected I set the value for speakValue exlample

button 005 is selected I call

speakValue = 005

I am trying to make my code shorter so I try something like this to play my audio:

audio.play ( speakValue)

Nothing happens - does anyone know how to set a value for the audio.play(value)

so that the application will understand it as audio.play(count005)

local count = {}

for i = 1, 100 do

    count[i] = audio.loadSound(“en_audio/” … string.format("%03d", i) … “.mp3” )

end

or something like that…

Rob

local count = {}

for i = 1, 100 do

    count[i] = audio.loadSound(“en_audio/” … string.format("%03d", i) … “.mp3” )

end

or something like that…

Rob