[erlang-questions] 2D Map Arrays

Jeff Crane jefcrane@REDACTED
Mon Sep 11 18:51:46 CEST 2006


Can anyone post example usage for the Array
implementation? 

I'd like to see proper usage.

%% yes I imported the array module, after compiling
test() ->
	MyArr = array:new(0,0),
	array:push(1,4,MyArr).

This is about as far as I got.

How do you identify individual arrays? New doesnt
always return me a value. How do I push a value into
the array? Does it dynamically resize? I cannot
determine the answers to these questions by looking at
the code/trying test args.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the erlang-questions mailing list