Hi all ,
// SOLVED SEE LAST POST.
I forget to dim the name again as double before it could read the case from an ini file and dont give a false positive.
again i need some help with a error what i don't understand why it doesnt work
Strbody contains a numer like 84 , i double check it with hs.writelog("test"strbody)
When i run the full script it goes to case else.
In case else i added also a hs.writelog ("test",Range1) and hs.writelog ("test",Torange1)
when i check the output it shows the value from the ini file (50 and 90)
so thats ok , but the case doesnt work. if i add manual the 50 and 90 it works because Strbody contains the number 84.
Here the example :
The ini contains this :
Can anyone help me, im very sure im doing it right.
// SOLVED SEE LAST POST.
I forget to dim the name again as double before it could read the case from an ini file and dont give a false positive.
again i need some help with a error what i don't understand why it doesnt work
Strbody contains a numer like 84 , i double check it with hs.writelog("test"strbody)
When i run the full script it goes to case else.
In case else i added also a hs.writelog ("test",Range1) and hs.writelog ("test",Torange1)
when i check the output it shows the value from the ini file (50 and 90)
so thats ok , but the case doesnt work. if i add manual the 50 and 90 it works because Strbody contains the number 84.
Here the example :
Code:
Select Case strBody Case Range1 to Torange1 hs.writelog ("test","Working") Case else hs,writelog("debug","Range1") hs,writelog("debug","Torange1") End Select
The ini contains this :
Code:
[Range] Range1=50 Torange1=90
Can anyone help me, im very sure im doing it right.
Comment