Hi Skimask,
What you mean with out of bond!?
Did you mean when I receive a wrong character.
Regards Pesti
Hi Skimask,
What you mean with out of bond!?
Did you mean when I receive a wrong character.
Regards Pesti
Hi,
Ok this is a very good argument ! :-)
Is good that you have warnning me I forgot this :-(
I think that i should the Data discard !
Or I think wrong !?
Something like this:
Bad_Data var bit
Bad_Data = 0
Data_Check:
for N = 0 to 13
If Daten(N) < $30 then Bad_Data = 1 : Daten(N) = $30
Next N
Select case Bad_Data
case 0 ' it's all ok
for N = 13 to 1 step - 2
Daten[N]= ((Daten[N]-$30) *10) + (Daten[N-1]-$30)
Pause 5
next N
case 1 ' no good :-)
Bad_Data = 0
Goto Warning or something like that
end select
If I have Daten[N] = $30 this is not bad while $30-$30 = 0
Regards Pesti
Last edited by Pesticida; - 2nd February 2008 at 06:42.
Bookmarks