Remplacer
Par
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 if (((uppercase(copy(Softcam_Line,1,1)))=('I')) or ((uppercase(copy(Softcam_Line,1,1))=('S'))) or ((uppercase(copy(Softcam_Line,1,1)))=('N')) or ((uppercase(copy(Softcam_Line,1,1)))=('W')) or ((uppercase(copy(Softcam_Line,1,1)))=('V')) or ((uppercase(copy(Softcam_Line,1,1)))=('F'))) And ((copy(Softcam_Line,2,1))=(' '))
Remplacer
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 if ((UpCase(Softcam_Line[1]) in ['I','S','N','W','V','F']) and (Softcam_Line[2] = ' ')) then
Par
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 if((uppercase(copy(Softcam_Line,I,1)) <>'0') and (uppercase(copy(Softcam_Line,I,1)) <>'1') and (uppercase(copy(Softcam_Line,I,1)) <>'2') and (uppercase(copy(Softcam_Line,I,1)) <>'3') and (uppercase(copy(Softcam_Line,I,1)) <>'4') and (uppercase(copy(Softcam_Line,I,1)) <>'5') and (uppercase(copy(Softcam_Line,I,1)) <>'6') and (uppercase(copy(Softcam_Line,I,1)) <>'7') and (uppercase(copy(Softcam_Line,I,1)) <>'8') and (uppercase(copy(Softcam_Line,I,1)) <>'9') and (uppercase(copy(Softcam_Line,I,1)) <>'A') and (uppercase(copy(Softcam_Line,I,1)) <>'B') and (uppercase(copy(Softcam_Line,I,1)) <>'C') and (uppercase(copy(Softcam_Line,I,1)) <>'D') and (uppercase(copy(Softcam_Line,I,1)) <>'E') and (uppercase(copy(Softcam_Line,I,1)) <>'F'))
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 if not (UpCase(Softcam_Line[I]) in ['0'..'9','A'..'F']) then
Partager