When I execute :
---
Try
If args.value >= 0 And args.value <= 10 Then
args.Isvalid = true
exit sub
end if
Catch args As Exception
If args.value = "R" Then
args.Isvalid = true
exit sub
End If
End Try
---
I had :
BC30616: Variable 'args' hides a variable in an enclosing block
for this line : Catch args As Exception
Thanks in advance
---
Try
If args.value >= 0 And args.value <= 10 Then
args.Isvalid = true
exit sub
end if
Catch args As Exception
If args.value = "R" Then
args.Isvalid = true
exit sub
End If
End Try
---
I had :
BC30616: Variable 'args' hides a variable in an enclosing block
for this line : Catch args As Exception
Thanks in advance