Re: Arrays



"Bob" <someonw@xxxxxx> wrote in message
news:%23NXUno5BJHA.4932@xxxxxxxxxxxxxxxxxxxxxxx

Thanks Ralph. I guess, I will use loops. By the way, in VB is there any
way of using pointers for arrays, like C or Fortran. If so, then I can
pass the pointer.

VB ITSELF (i.e., built-in VB functions) cannot use pointers. They will only
be useful if you're passing them to API functions. So I would say
"technically" VB can't use pointers, especially when you tack on the
statement "like C or Fortran." Others may want to argue semantics....


.



Relevant Pages

  • Re: Cracking DES with C++ is faster than Java?
    ... > C doesn't have multidimensional arrays, ... you must use pointers to pointers instead, ... properties from Fortran (efficient code, separate compilation, ... However C didn't borrow object orientation ...
    (comp.lang.java)
  • Re: Cracking DES with C++ is faster than Java?
    ... > C doesn't have multidimensional arrays, ... you must use pointers to pointers instead, ... properties from Fortran (efficient code, separate compilation, ... However C didn't borrow object orientation ...
    (comp.lang.cpp)
  • Re: Cracking DES with C++ is faster than Java?
    ... > C doesn't have multidimensional arrays, ... you must use pointers to pointers instead, ... properties from Fortran (efficient code, separate compilation, ... However C didn't borrow object orientation ...
    (sci.crypt)
  • Re: INTERFACE problem
    ... I have an integer at Fortran side, pass it by reference to C function, treat here as pointer, allocate memory and this C-pointer at Fortran side now is an integer which has represents address allocated at C side. ... I did something like this many years ago to allow dynamic allocation ... Then it was converted into a subroutine with the arrays and ... it called the sub by way of Pascal with those "pointers". ...
    (comp.lang.fortran)
  • Re: INTERFACE problem
    ... I have an integer at Fortran side, ... >it by reference to C function, treat here as pointer, allocate memory ... C pointers and arrays ... WHen the Main got the now initialized "pointers" ...
    (comp.lang.fortran)

Loading