Re: Clearing a custom array

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



This seems to work but is it not the same as saying here is a null pointer
to this array?

Adam

"Michel Posseth [MCP]" <michel@xxxxxxxxxxx> wrote in message
news:uXn7oAecGHA.4932@xxxxxxxxxxxxxxxxxxxxxxx

maybe to simple ..... but why do you not assign a Nothing pointer ??? to
the var to clear it`s contents ( should work in VB6 and VB.Net )

:-)

Regards

Michel Posseth [MCP]


"Adam Honek" <AdamHonek@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> schreef in bericht
news:emtbd%23VcGHA.3856@xxxxxxxxxxxxxxxxxxxxxxx
Instead of the ZeroMemory API what would one use in VB.NET to
clean an array using a custom structure?

The .clear isn't a member of it by default.

Any suggestions?

Thanks,
Adam





.



Relevant Pages

  • Re: Translation-Time Type Information
    ... there are three points of undefined behaviour in the ... point within the same array object. ... functions return the 'value' member of the pointed-to-union, ... pointer is equal to the alignment requirement for that function ...
    (comp.lang.c)
  • Re: char **argv & char *argv[]
    ... "pointer to pointer to char". ... >> pointer)) pointing to the first element of an array. ... so we have to start adding more context. ... type "pointer to char", rather than "array MISSING_SIZE of char". ...
    (comp.lang.c)
  • Re: Question about arrays in objects
    ... >>I want to create a 2d array as an object member. ... > handled in the constructor, you just can't use a plain old array. ... > that is where using a pointer would come in. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: why cannot assign to function call
    ... hypothetical C-like languages, ... sizeof business would still indicate that a pointer was being passed. ... talk about variables of an array type. ... the earlier version of the standard didn't have numbered ...
    (comp.lang.python)
  • Re: Youre appointed as Portability Advisor
    ... None of its behaviour is undefined by the Standard. ... to write to member A of a union and then read from member B, ... character type that treats the thing as an array of bytes. ... dereferencing a pointer to one ...
    (comp.lang.c)