Hi
on decreaseVolume
curVol = the soundLevel
curVal = curVal - 1
if curVal < 0 then
curVal = 0
end if
the soundLevel = curVal
end
on increaseVolume
curVol = the soundLevel
curVal = curVal + 1
if curVal > 7 then
curVal = 7
end if
the soundLevel = curVal
end
Is this you are looking for?
regards
----------------------------------------------------------
Ramesh CT
Phoenix Global Solutions (I) Pvt Ltd
http://www.lingoman.net/
----------------------------------------------------------
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]