Re: Should a (string) Null have a TypeOf = Boolean

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Imran Koradia (nospam_at_microsoft.com)
Date: 12/09/04


Date: Thu, 9 Dec 2004 11:20:18 -0500

By NULL, do you mean Nothing? Could you post the relevant code of the method
and how you are passing the parameters?

Imran.

"David GB" <DavidGB@discussions.microsoft.com> wrote in message
news:F7691BFF-520E-4F0B-9EC1-E5729043F49F@microsoft.com...
> I pass a parameter to a subroutine, and in the subroutine, I check its
'typeof'
>
> If the parameter is a string, but NULL, the Typeof comes up as Boolean,
not
> String.
>
> Is this expected behaviour, or has something corrupted itself in my
project?
>
> VB.Net, Visual Studio 2003
> --
> David Gordon-Brown



Relevant Pages

  • Should a (string) Null have a TypeOf = Boolean
    ... I pass a parameter to a subroutine, and in the subroutine, I check its 'typeof' ... If the parameter is a string, but NULL, the Typeof comes up as Boolean, not ... David Gordon-Brown ...
    (microsoft.public.dotnet.framework)
  • whats OOPs jargons and complexities?
    ... in advanced languages such as LISP family, it is not uncommon to define ... subroutine f1 ... For example, in Java, a string is a class String. ...
    (comp.lang.perl.misc)
  • whats OOPs jargons and complexities?
    ... in advanced languages such as LISP family, it is not uncommon to define ... subroutine f1 ... For example, in Java, a string is a class String. ...
    (comp.lang.c)
  • whats OOPs jargons and complexities?
    ... in advanced languages such as LISP family, it is not uncommon to define ... subroutine f1 ... For example, in Java, a string is a class String. ...
    (comp.lang.python)
  • whats OOPs jargons and complexities?
    ... in advanced languages such as LISP family, it is not uncommon to define ... subroutine f1 ... For example, in Java, a string is a class String. ...
    (comp.lang.lisp)