Re: Recordset Data Type




"Ralph" <nt_consulting64@xxxxxxxxx> schrieb im Newsbeitrag
news:-fydnfc9bZGzSuvYnZ2dnUVZ_sSdnZ2d@xxxxxxxxxxxxxxx

And vbNullString is a 'pointer' to a 'Null', ...
No, it is not a Pointer to a Null - it is a Pointer with
the *value of* Null.

Dim S as String
S = vbNullChar 'now S contains a Pointer to a Null (to a NullWCar)
S = vbNullString 'now S contains a Pointer with the value of Null

...(though VB defines it as a 'zero' string).
That's correct, an uninitialized OLE-BSTR - represented by a
NullPointer.

A Null is a Nul is a Zero the world around...
Yep, but my point was, that a NullPointer is different to a
"pointer to a Null".

Olaf


.



Relevant Pages

  • Re: Recordset Data Type
    ... Dim S as String ... S = vbNullChar 'now S contains a Pointer to a Null (to a NullWCar) ...
    (microsoft.public.vb.enterprise)
  • Re: "Mastering C Pointers"....
    ... A pointer is a kind of variable that can "point to" some object. ... has a type (pointer to int), and a value of some kind. ... You may know that you can access these integers by using array notation ... The function will take one argument, a string, and will return the length ...
    (comp.lang.c)
  • Re: pesky Pointers !!
    ... > and the function takes it as a reference instead of a copy. ... function may access the string passed directly, ... > *px dereferences the pointer to get the value ... If pTest is a pointer-to-string, *pTest is the string it points to ...
    (alt.comp.lang.learn.c-cpp)
  • Re: strtok ( ) help
    ... > splitCommandssomehow modifying the pointer, but I HAVE to call that ... Here's an idea of how to use the strtok() function. ... don't mind trashing the contents of a string s, ... will give you a loop that extracts the tokens one at a time from s. ...
    (comp.lang.c)
  • Re: new IL: C (sort of...).
    ... C doesn't need a string type... ... variant of PL/1 which was very Pascal-ish. ... - C does implement an array declaration. ... effectively converted into a pointer that can be used with the offset ...
    (comp.lang.misc)

Loading