i'm writing a script for recording sound.
I ask the user (with InputBox) to give me the sample duration.
after the input i need to check if the given value is a number.
The code i am using is the following :
$Sample_Time = "a"; to be sure it will show the InputBox do $Sample_Time = InputBox("Sampletime","How Long must the sample be in minutes?",10) until IsInt($Sample_Time)
No mather what input i am giving in. IsInt returns all the Time 0 and stays in the 'do-until-loop'.
Can anybody telling me what i'm doing wrong.
What code can I use to check if the input is an Integer?
Thanks in advance.