Thanks for that Bonnie,
regards,
Gerard
>Gerard,
>
>Char 0 (zero) is null, so test like this:
>
> If (Mychar = (char)0)
> { return true}
> else
> { return false}
>
>
>~~Bonnie
>
>
>>Hi.
>>How do I test if a character is null ?
>>
>>Pseudo code ? that does'nt work because MyChar is type Char and NUll is an object ?
>>{
>> If (Mychar = null)
>> { return true}
>> else
>> { return false}
>>}