Re: How is this conditional able to execute?
- From: "Stephany Young" <noone@localhost>
- Date: Sun, 17 Apr 2005 14:45:34 +1200
Did you forget to include the values?
Your code cannot possiblity work because
returndata.ToString = ""
gives a compile-time error:
error BC30068: Expression is a value and therefore cannot be the target
of an assignment.
It would pay to show the ACTUAL code including the declarations of and
assignments to variables returndata and ClientForm.ReturnData.
"Brett" <no@xxxxxxxx> wrote in message
news:%23HIUlxuQFHA.1476@xxxxxxxxxxxxxxxxxxxxxxx
> The following conditional executes given the values listed. I've listed
> the values below for each of these variables. How is it that the
> conditional still executes:
>
> If (returndata.ToString <> "") And (returndata.ToString <>
> ClientForm.ReturnData) Then
>
> returndata.ToString = ""
> ClientForm.ReturnData = Nothing
>
> The first test fails and the second passes. The AND should then fail
> correct?
>
> Thanks,
> Brett
>
.
- Follow-Ups:
- Re: How is this conditional able to execute?
- From: Brett
- Re: How is this conditional able to execute?
- References:
- How is this conditional able to execute?
- From: Brett
- How is this conditional able to execute?
- Prev by Date: Re: How is this conditional able to execute?
- Next by Date: "Too many automatic redirections attempted" exception
- Previous by thread: Re: How is this conditional able to execute?
- Next by thread: Re: How is this conditional able to execute?
- Index(es):