"StoneAgeProgrammer" <StoneAgeProgrammer@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:0AD7D5CA-1E4B-4FC9-A41C-2B7D38924B7B@xxxxxxxxxxxxx > Can anybody assist me in how I can call sub/functions with subset of
> (one dimensional) arrays ? I am converting from Fortran with
> extensive use of this functionality.
> In the receiving array index (0) shall refer to first element of
> subset in call.
> When I try I get type mismatch (array vs. singel variable even when
> passing ByRef).
VB doesn't support that; you're best bet may be to pass in the array and the
desired lower and/or upper bounds for the subroutine to use.
--
Reply to the group so all can participate
VB.Net: "Fool me once..."
Re: newbie: array passing problem ... Can X be treated as on dimensional array with 5 elements? ... existing Fortran to make life easier. ... comments and converting it line by line. ... VB requires array dimensions match caller and callee so not, directly, no. ... (microsoft.public.vb.general.discussion)
Re: Passing subset of arrays to sub/functions ... > Can anybody assist me in how I can call sub/functions with subset of (one ... I am converting from Fortran with extensive use of this ... > When I try I get type mismatch (array vs. singel variable even when passing ...Fortran and turning it into a DLL? ... (microsoft.public.vb.syntax)
Re: Slow Re-entry terry Bill 33 ...converting energy of any kind into ... >wind, light gravity, are just some kinds of energy that can be converted ... What is the mass of this array?... you want to use the electricity from your ... (rec.arts.sf.science)
Re: Assoc method on large array ...SQL recordset array each record was actually a DBI::Row object and not ... After converting these DBI::Row ... coding in Ruby better than coding in SQL I figured I'd let Ruby do the ... (comp.lang.ruby)
RE: VBA text to columns ... The data is a copy and paste from a PDF so its not worth converting it to ... This data is text in a single cell column for each row and ... Whenever a macro is recorded however it records a different array for each ... The macro recorder will not work unless the data groups are all the exact ... (microsoft.public.excel.programming)