array question

seany seany at uni-bonn.de
Mon Dec 9 14:03:56 PST 2013


yet another array question :

I have defined :

alias string[] surrealNum_segments;
alias string[string] surrealNum_segments_withID;
surrealNum_segments_withID BAR;

Is there a built in function FOO, such that i could also write:

FOO(surrealNum_segments) BAR;

instead of

surrealNum_segments_withID BAR;

i.e. that will return an Associative Array type with string keys 
, with an array as argument?



More information about the Digitalmars-d-learn mailing list