Returning Arrays from Functions

Samwise via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jan 18 14:31:54 PST 2017


I've done a whole bunch of looking around, and I don't see any 
mention of returning a dynamic array from a function. When I try 
it though, it just returns the .length value of the array, rather 
than the contents of the array. Does anyone know why this is, and 
what I can do to make it behave the way I want it to?


More information about the Digitalmars-d-learn mailing list