Re: Function not returning expected value



jeff@xxxxxxxx wrote:
> I get no array back. Within the file that contains the arrays,
> I can access them by global name and also by the accessor
> methods. Any ideas why I cannot access the arrays from
> another file?
>

IMO, the only possible explanation is that the $states array gets redefined
as a scalar somewhere down the line...


JW




.



Relevant Pages

  • Re: using fortran intrinsic functions in mex-file
    ... LOGICAL FUNCTION LSAME ... These programs must be called using F90 style array ... Scalar Arguments .. ... Purpose ...
    (comp.soft-sys.matlab)
  • [ANNOUNCE] New module Class::IntrospectionMethods
    ... access plain scalars, array, hash. ... These scalar, hash or array can ... object can be queried for the container object. ... parent object (the one constructed by Class::IntrospectionMethods ...
    (comp.lang.perl.modules)
  • Re: Another Perl datatype headache ( scalars $, hashes %, and arrays @ )
    ... > If I want to add Hash keys to another Hash, ... > Usually, I use scalar @array; ... $#array is not the length of the array. ... If you are sure your sub is called: ...
    (perl.beginners)
  • Re: operator overloading ... for numerical classes only
    ... The restriction to "scalar" types is meant to include complex numbers, ... and array code would be more similar? ... An ordered sequence type would ... sequence of data should be a List or an array. ...
    (comp.lang.java.programmer)
  • Re: Question about minloc
    ... why is it necessary to specify dim=1 ... Because the MINLOCintrinsic returns a 1-D array of minimum indices, ... returns the scalar minimum index for the specified dimension. ... if the DIM argument *weren't* present, ...
    (comp.lang.fortran)