I'm sorry,
I wasn't very specific. I'm working in C  using the C ruby's API (cygwin
like platform)!!!


Andy Neagu

"Stephan K?mper" <Stephan.Kaemper / Schleswig-Holstein.de> ha scritto nel
messaggio news:3C627162.E51787CC / Schleswig-Holstein.de...
> Andy Neagu wrote:
> >
> > Hi everybody,
> >
> > I'm working on an extension to ruby that will allow me to work directly
with
> > Orca (a dll that allows you to work directly with pbls - Powerbuilder
> > libraries). I'm not familiar with the ruby API's and I have some
problems
> > (like documentation I'm using "Programming Ruby").
> >
> > Then:
> >
> > How can I know the size of an ruby array?
> >
>
> You ask it:
>
> ary = Array.new
>
> # fill  ary
>
> size = ary.size
>
> BTW, you can as well use ary.lenght.
>
> Stephan